BCMS Environment variables

Environment variables provide a way to pass variables to the CMS. They are useful when you have a custom code on your CMS and need access to some shared string data. One example might be: URL to some API, secret key, SMTP credentials...


Add an environment variable

log in to the BCMS Cloud and open the instance to which you would like to add an environment variable. When on the instance page click on Environment variables card. From here, click on Add new variable and enter variable key (name of the variable) and its value. After that click on Save button.

Add plugin modal

When you add an environment variable, CMS will rebuild with new configuration. It'll take a few seconds.


Edit an environment variable

When you are on the instance page click on Environment variables card. Here you will be able to see all variables. Edit the ones you like and click on Save button.

When you edit an environment variable, CMS will rebuild with new configuration. It'll take a few seconds.


Delete an environment variable

When you are on the instance page click on Environment variables card. Here you will be able to see all variables. To delete a variable click on the trashcan icon next to the variable value. To save changes click on the Save button.

When you delete an environment variable, CMS will rebuild with new configuration. It'll take a few seconds.