---
title: "[Contentstack Command-line Interface (CLI)] - Configure Early Access in the CLI"
description: Configure and use the Early Access header in the Contentstack CLI, including set, get, and remove commands.
url: https://www.contentstack.com/docs/developers/cli/configure-early-access-program-in-the-cli
product: Contentstack
doc_type: cli-guide
audience:
  - developers
version: "CLI 1.12.1+"
last_updated: 2026-03-25
---

# [Contentstack Command-line Interface (CLI)] - Configure Early Access in the CLI

This page explains how to configure and use Contentstack’s Early Access header support in the Contentstack Command-line Interface (CLI). It is intended for developers who use the CLI to interact with Contentstack products and features, and should be used when you need to set, retrieve, or remove Early Access headers for CLI requests.

## Configure Early Access in the CLI

Contentstack’s **Early Access** program provides customers with the opportunity to explore Contentstack's products and features before they are generally available. Through this program, users can engage in collaborative communication with the product teams, enabling them to test and influence the development of products tailored to their organization's unique requirements.

The configuration of headers in a Command Line Interface (CLI) involves the setting of HTTP headers when interacting with web services or APIs through the command line. The Early Access header support in CLI includes commands to set, get and remove headers for requests made to web servers or APIs for Contentstack products and features before they are generally available.

This step-by-step guide lets you configure and use the Early Access header in the CLI.

## Prerequisites
- [Contentstack account](https://www.contentstack.com/login/)
- [CLI installed](/docs/developers/cli/install-the-cli/) and [configured](/docs/developers/cli/configure-regions-in-the-cli/) (version 1.12.1 and above)
- [CLI authenticated](/docs/developers/cli/cli-authentication/)

## Commands

### Set Early Access Header

The `config:set:early-access-header` command lets you set an Early Access header with an alias name and value in the CLI.
- Open the terminal.
- Fire the following command:
```
csdx config:set:early-access-header
```
- Enter an **alias** name for the Early Access header.
- Enter a **value** for the Early Access header.

You have successfully set an Early Access header in the CLI.

Alternatively, you can pass the **alias** and **value** in the command as given below:

```
csdx config:set:early-access-header  --header-alias  --header
```

**Usage**

```
csdx config:set:early-access-header
```

or

```
csdx config:set:ea-header
```

**Options**
- `--header=header`: (optional) Provide the Early Access header value.
- `--header-alias=header-alias`: (optional) Provide the Early Access header alias name.

**Examples**
- To set an Early Access header by providing the header value:
```
csdx config:set:early-access-header  --header 3.2
```
- To set an Early Access header by providing the header value and alias name:
```
csdx config:set:early-access-header  --header-alias ta****my --header tx
```

### Get Early Access Header

The `config:get:early-access-header` command fetches a list of the Early Access headers that you have set in the CLI.
- Open the terminal.
- Fire the following command:
```
csdx config:get:early-access-header
```

You have successfully retrieved a list of Early Access headers you have set in the CLI.

**Usage**

```
csdx config:get:early-access-header
```

or

```
csdx config:get:ea-header
```

### Remove Early Access Header

The `config:remove:early-access-header` command lets you remove an existing Early Access header configuration from the CLI.
- Open the terminal.
- Fire the following command:
```
csdx config:remove:early-access-header
```
- Enter the **alias** name of the Early Access header for which you want to remove the configuration.
- In the prompt that appears, enter the following:

             **Yes**, to remove the configuration of the provided Early Access header.
- **No**, to skip removing the Early Access header configuration.

You have successfully removed the configuration of the provided Early Access header from the CLI.

**Usage**

```
csdx config:remove:early-access-header
```

or

```
csdx config:remove:ea-header
```

**Options**
- `-y`,`--yes`: (optional) Force the removal of Early Access header configuration by skipping the confirmation.
- `--header-alias=header-alias`: (optional) Provide the Early Access header alias name.

**Examples**
- To remove the configuration of an Early Access header by skipping the confirmation:
```
csdx config:remove:early-access-header  --yes
```
- To remove the configuration of an Early Access header by providing the header alias name:
```
csdx config:remove:early-access-header  --header-alias ta****my
```

## Common questions

### What CLI version is required to configure the Early Access header?
CLI (version 1.12.1 and above)

### What are the available commands for Early Access header support in the CLI?
`config:set:early-access-header`, `config:get:early-access-header`, and `config:remove:early-access-header`

### Are there shorter aliases for the Early Access header commands?
Yes: `csdx config:set:ea-header`, `csdx config:get:ea-header`, and `csdx config:remove:ea-header`

### How can I remove an Early Access header configuration without confirmation?
Use `-y`,`--yes`: (optional) Force the removal of Early Access header configuration by skipping the confirmation.