Skip to main content
The config.yml file at the root of your repository is the configuration file you’ll use to define three entities, specified as the following top-level keys:
  1. databases: database connections
  2. models: foundation model connections
A sample config.yml file is shown below:

Environment Variables

You can use environment variables for database connection parameters instead of hardcoding values. This is recommended for production deployments and keeping sensitive data out of version control. For example:
See the Environment Variables Reference for complete documentation.

Git Branch Workflow

If your workspace is a git repository, config.yml can also configure how the IDE handles saves on protected branches and where new feature branches fork from (protected_branches, base_branch). See the Branch Configuration reference for details.

Additional Resources

To get more information about connecting to databases or models, you can reference our integrations section.