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

# storage create

> Create a new remote storage provider connection

Creates a new Remote Storage Provider Connection.

## Usage

```bash theme={null}
flexai storage create <storage_provider_connection_name>
  [( --provider --access-key-id --endpoint --secret-access-key-name )]
  [( --provider gcs --service-account-file-name )]
  [( --provider s3 --region <region> )]
  [( --provider huggingface --hf-token-name <hf_token_name> )]
```

## Arguments

| Argument                           | Type   | Required | Description                                                                                               |
| ---------------------------------- | ------ | -------- | --------------------------------------------------------------------------------------------------------- |
| `storage_provider_connection_name` | string | Yes      | The name that will be used to identify the Storage Provider Connection while performing operations on it. |

## Flags

| Flag                          | Short | Type    | Description                                                                                                          |
| ----------------------------- | ----- | ------- | -------------------------------------------------------------------------------------------------------------------- |
| `--provider`                  | `-p`  | string  | Storage provider to use. One of: `s3`, `gcs`, `huggingface`, `minio`, `r2`.                                          |
| `--access-key-id`             |       | string  | S3-compatible storage Access Key ID.                                                                                 |
| `--endpoint`                  |       | string  | S3-compatible storage endpoint. Only required when using the `s3` provider.                                          |
| `--region`                    |       | string  | S3-compatible storage Region where the target Storage Bucket is located. Only required when using the `s3` provider. |
| `--secret-access-key-name`    |       | string  | Name of the FlexAI Secret containing the S3-compatible storage Secret Access Key.                                    |
| `--service-account-file-name` |       | string  | Name of the FlexAI Secret containing the GCP Service Account JSON file (for `gcs` provider).                         |
| `--hf-token-name`             |       | string  | Name of the FlexAI Secret containing the Hugging Face Access token (for `huggingface` provider).                     |
| `--help`                      | `-h`  | boolean | Displays this help page.                                                                                             |
| `--verbose`                   | `-v`  | boolean | Provides more detailed output.                                                                                       |
