Create a Collection

Environments can be created using the Bluebricks API, Command Line, or User Interface.

Overview

Collections organize infrastructure into clear units that match how teams actually work. You can create separate collections for projects, teams, or lifecycle stages such as development, staging, and production. Each collection provides the foundation for deployments by holding shared settings and rules.

Create a collection via the UI

  • Navigate to the Collections section.

  • Click Create Collection.

  • Enter a name for the collection.

  • Select the cloud provider(s) to connect.

  • Configure any required settings, permissions, and secrets.

  • Click Create to finalize the setup.

Create a collection via the CLI

You can create a new collection using the Bluebricks CLI (refer to Bricks CLI Installation Guidearrow-up-right if you haven't installed it yet):

A successful creation will display a confirmation message with the new collection ID:

Creating a Collection via the API

You can also create a collection using a direct API call. First, you'll need to obtain a valid bearer token:

Create a collection via the API

Using the bearer token you obtained, make the API call to create a collection:

Replace YOUR_BEARER_TOKEN with your token.

Last updated

Was this helpful?