Workspace CMS questions

When creating a new CMS workspace, we can edit the models and create inputs. When we click on edit content, we can MANUALLY add data, I repeat, MANUALLY.
Okay, after defining data, we can add it to the project by adding it to PLASMIC CMS. With Data Fetcher, we can EXTRACT the data, with the respective inputs such as name or email. The problem is how I INSERT the data. As I said above, I know how to add it MANUALLY. I can’t understand the 800 tutorial posts that you make available about CMS. I did what I could, but I couldn’t understand. I used this video to understand the OUTPUT of data with CMS: https://youtu.be/-Rrn92VtRBc I don’t know how to input it
Ex.: enter name and email and send, it will automatically appear in the Plasmic CMS database.

Hey @carlos_eduardo.
You can read our documentation here on how to programatically modify the data in your CMS: Plasmic CMS - API Reference | Learn Plasmic

Since writing data require a secret token, we recommend you do it from a secure backend with proper authentication/validation.

The “secure backend” part worried me, I’m an absolute layman trying to make a simple MVP. Could you explain more about data security?

The main point is that the authentication method includes a private key, which shouldn’t be exposed in the client. You need to think about who would be able to write to your CMS, so you don’t expose your CMS to anyone on the internet. So the workflow would look something like: User login → Input → HTTP request backend → Validate logged in user → HTTP request to CMS.

1 Like