> ## Documentation Index
> Fetch the complete documentation index at: https://algolia.com/llms.txt
> Use this file to discover all available pages before exploring further.

# algolia profile add

> Add a new profile configuration to the CLI.

```txt Usage theme={"system"}
algolia profile add [flags]
```

## Examples

Add a new profile (interactive):

```sh icon=square-terminal theme={"system"}
algolia profile add
```

Add a new profile (non-interactive) and set it to default:

```sh icon=square-terminal theme={"system"}
algolia profile add --name "my-profile" --app-id "my-app-id" --api-key "my-api-key" --default
```

## Flags

<ParamField body="--api-key">
  API Key of the application.
</ParamField>

<ParamField body="--app-id">
  ID of the application.
</ParamField>

<ParamField body="-d, --default">
  Set the profile as the default one.
</ParamField>

<ParamField body="-n, --name">
  Name of the profile.
</ParamField>
