Skip to main content
Version: Platform (v2)

5. Configure your environment


Each cloud environment can have a set of configuartion variables. These are used to store information like shop API keys.

Depending on your integrations (Magento, BigCommerce, Stripe etc) you'll need to add different varaibles to your cloud environment.

Configuration documentation

We highly recommend you read our config docs before doing this step.


1. Log into your environment

Hopefully you're still logged in from the 'Install Dcloud' step. If not, follow the steps there.

2. What variables need setting?

This depends on your integrations.

Each one of our integrations has it's own variables and documentaion that can be found in the 'Integrations' section. For example, our Magento 2 docs.

client vs server variables

Your environment variables are universal, meaning they are accessible by both your client and server apps and you don't need to set them in a different way.

3. Set your variables

Once you've worked out which variables need setting you can set them using dcloud.

You can then set environment variables using the following command:

dcloud env:var:set <env> <name> [value] 


This example would set the MAGENTO_HOST variable on the test environment to

dcloud env:var:set test MAGENTO_HOST
Encrypted / secret variables

Use the -s flag when setting environment variables so they are encrypted. dcloud env:var:set -s test API_KEY your_key

4. Apply your changes

To apply your variable changes you can run the command:

dcloud env:var:apply <env>

Running a deployment will restart your app and will also apply new changes to env variables.

5. Test your changes

Unless you're running Falcon Server locally (Enterprise plans only), now is a great time to test your changes. By connecting your local client app to your remote server app (via the GraphQL URL explained here) you should be able to see any config changes you've made.

We recommend changing your shop integration variables so you can see your own products and categories locally.

Ask the community. #help

If you can't find what you're looking for, the answer might be on our community slack channel. Our team keep a close eye on this and will usually get back to you within a few hours, if not straight away. If you haven't created an account yet please sign up here

Stay up to date

Do you want to be informed when we release new features or fixes? Sign up to our newsletter to stay in the loop.