Creating Collections

Collections 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 environments by holding shared settings and rules.

Example of creating a collection with AWS

Create a collection via the UI

  1. Click Create Collection

  2. Enter a name for the collection

  3. Select the cloud provider(s) to connect

    1. Haven't connected your cloud accounts yet? Learn how to connect your cloud

  4. Configure any required settings, permissions, and secrets

  5. 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:

Create a collection via the API

You can also create a collection using a direct API call. First, you'll obtain a valid bearer token arrow-up-rightthen make the API call to create a collection:

Replace YOUR_BEARER_TOKEN with your token.

Last updated

Was this helpful?