Get Started

Learn how to quickly get started with Configu. We'll use the Configu CLI and the Configu ConfigStore (Configu Cloud) to declare, initialize, and export a simple set of configuration data.

1. Install the Configu CLI (OSS)

1curl | sh

2. Declare a ConfigSchema

configu init --get-started

3. Connect to Configu ConfigStore

configu login

The Configu Cloud Store is a convenient way to get started with Configu, especially for users who are new to the platform. It is a cloud-based configuration management solution that is easy to use and requires minimal setup, with a free plan option. To get started with Configu Cloud, you'll need to register and create a new organization.

It's important to note that Configu SaaS Store 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, or your own custom implementation.

4. Upsert Configs to ConfigSet

configu upsert \
  --store 'configu' --set 'development' --schema './get-started.cfgu.json' \
  --config "GREETING=hey" --config "SUBJECT=<YOUR_NAME>" \
&& configu upsert \
  --store 'configu' --set 'development/qa' --schema './get-started.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.