Learn about Buckets; where you manage your Cosmic content, media, extensions, and add-ons.

Creating a Bucket

You can create a new Bucket in a few different ways:

  1. When creating a new Project.
  2. When adding a new Bucket on an existing Project.
  3. When cloning a Bucket in an existing Project.
Add Bucket image

Buckets home

After you have created your Bucket, you will have a Bucket home view which gives you access to your recently modified content as well as other helpful links and resources.

Dashboard image

Object types

Object types are how you organize your content into specific content models. For example, if you are building content for your website, some Object types that you might create include: pages, blog posts, authors, etc.

Object types can be multiple or singleton. The slug field you include will be used to request the Objects in this type from the API.

Optional features on the Object type include:

  1. Emoji: This is displayed on the dashboard for easy orginization and visual cues.
  2. Localization: Set different locales on your Objects to provide content in different languages.
  3. Preview link: Enable content creators to access a preview link from the Object edit view.
Object type image


You can add localization to your Object types to create versions of content in different languages. This is found in Bucket > Object type settings.

Localization image

Set a priority locale to make this locale required and organize your Objects table with this one being displayed first.

Priority localization image


Use Metafields to create your Object type content model. Available Metafields include:

  1. Input fields: text, number, text area, rich text, markdown, JSON
  2. Select fields: dropdown, date, radio, checkbox, switch, color picker, and emoji
  3. Media fields: image, video, audio, document, as well as other types
  4. Group fields: parent (contains other Metafields), repeater (contains and can repeat groups of Metafields)
  5. Object relationships: single Object, multiple Objects
Metafields image


Objects are the building blocks of your content in Cosmic.

Object image

In the add / edit Object view, content creators can perform a number of tasks including:

  1. Create long form content.
  2. Update Metafield values.
  3. Set content to draft / published status.
  4. Schedule content for publish / unpublish.
  5. View revisions / restore to a prior version.


Go to Bucket > Media to manage the media in your Bucket. You can upload many different media types including images, video, audio, as well as documents such as PDFs, JSON files, etc.

Media image

Media added here will be available for use in your Bucket Objects that have media Metafields.

Media modal image


Extensions enable you to extend the functionality of your Cosmic dashboard. They provide a view into an external website or web application. They can be added as a full page view, or included in select locations in your Bucket (edit Object view).

Pictured below is the Unsplash Extension which enables you to search images from the Unsplash API and add them directly to your Cosmic Bucket.

Extensions image

Adding an Extension

To add Extensions to your Bucket, go to Bucket > Extensions. Pre-built extensions are available in the Marketplace for install and demo. Cosmic Marketplace Extensions are open source to enable you to learn how to build your own Extensions.

How to build an Extension

An Extension provides an iframe view into a URL which includes dynamic query parameters. This enables you to connect to third-party APIs to interact with your Bucket directly from your Cosmic dashboard. The only requirements is that the URL is served securly with https:// and has X-Frame Options enabled.

Go to Bucket > Extensions > Add Extension to add an Extension.

Extensions image

Query parameters

After adding your Extension, query parameters are automatically attached to the URL for easy connection to your Bucket. The format looks like this:


Available query parameters include:

bucket_slugYour Bucket slug. Use this to connect to your Cosmic Bucket for read / write / edits.
read_keyYour Bucket read key. Needed to read from your Bucket if this value is set in Bucket Settings > Basic.
write_keyYour Bucket write key. Needed for writes to your Bucket if this value is set in Bucket Settings > Basic.
[custom key / value]You can add unlimited custom query pamaters such as 3rd-party API keys to connect to different services. Find this in your Cosmic Extension settings page.
object_idComing Soon If added to the Object location, the Object id.
object_slugComing Soon If added to the Object location, the Object slug.
object_typeComing Soon If added to the Object location, the Object type slug.


Webhooks enable you to communicate with third-party services. The webhooks feature can be added to any project or workspace to connect to any third-party service via HTTP POST requests when certain events occur in your Buckets.

Creating webhooks

Create a new webhook by going to Bucket > Settings > Webhooks and click "Add Webhook".

Webhooks image

Testing webhooks

You can use a service like Beeceptor to test your webhooks and view response data.

See the API reference for webhooks for more API information.


The backups feature can be added to any project or workspace to enable automatic backups for any Bucket. Automatic backups occur daily at 12AM UTC.

Go to Bucket > Settings > Backups to view Bucket backups. You can also create a snapshot at any time. Download and restore to a previous backup snapshot.

Backups image

Import / Export

All Buckets include the ability to import or export all of the content in the Bucket at any time. This export is a JSON file which includes data for Object types, Objects, Media, folders, but does not include team members, Object revisions, or backups. Go to Bucket > Settings > Import / Export to perform this action.

Import / Export image