1. Install Configu CLI

curl https://cli.configu.com/install.sh | sh

2. Declare your first ConfigSchema

configu init --hello-world

3. Connect to Configu ConfigStore

configu login

The Configu ConfigStore is a convenient way to get started with Configu, especially for users who are new to the tool. It is a configuration management platform that is easy to use and requires minimal setup, with a free starter plan option.

To get started with Configu Platofrm, you’ll need to register and create a new organization.

It’s important to note that Configu Platform is just one of many options for storing and managing configuration data with Configu. If you have specific requirements or preferences, you may wish to explore other ConfigStore options, such as using a database, a secret manager, a feature flag system or your own custom implementation.

4. Upsert Configs to ConfigSet

configu upsert \
  --store 'configu' --set 'development' --schema './start.cfgu.json' \
  --config "GREETING=hey" --config "SUBJECT=<YOUR_NAME>" \
&& configu upsert \
  --store 'configu' --set 'development/qa' --schema './start.cfgu.json' \
  -c "GREETING=hola"
&& configu upsert \
  --store 'configu' --set 'production' --schema './start.cfgu.json' \
  -c "GREETING=welcome"

5. Export the configuration data

configu eval \
  --store 'configu' --set 'development/qa' --schema './get-started.cfgu.json' \
| configu export \
  --format "Dotenv" \
> ".env"

As a result, you will get a .env file with the configurations declared in the “get-started” ConfigSchema and their values from the “test” ConfigSet.


That’s it! You now have a simple set of configuration data stored in the Configu Cloud, ready to be used in your application.

To learn more about Configu and how to use it, you can continue to explore the documentation and join the Configu Discord channel, where you can ask questions and get help from the Configu team and other community members.