# Storage Providers

Storage providers are a way to connect storage to Gradient. Gradient manages this storage provider to ensure that your data is verified and immutable. Gradient will create a folder with your Paperspace team handle at this storage provider. Gradient does not provide general s3 capabilities through the storage provider interface it is merely a way to manage credentials and the storage of specific Gradient features such as models, notebook workspaces and datasets currently only available on private and managed clusters.

**Supported types:**

* S3-compatible storage

## Configure your storage bucket

From within a new or existing S3 bucket, you'll need to edit the CORS configuration so your data can be viewed within Gradient.

**CORS**

To access an S3 compatible storage provider you may have to add CORS rules to your bucket

```
[
    {
        "AllowedHeaders": [
            "*"
        ],
        "AllowedMethods": [
            "GET",
            "PUT"
        ],
        "AllowedOrigins": [
            "https://console.paperspace.com"
        ],
        "ExposeHeaders": [],
        "MaxAgeSeconds": 3000
    }
]
```

Within the bucket _permissions_ settings, you'll see an option to edit the CORS configuration. Click edit, then copy and paste the JSON above, and then save your changes.

![](https://1320806315-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LHZRFUkajubOAmgu6Rd%2F-MNgDpA_1XfGnkhSB1VG%2F-MNgDyEKtVOkxgBvyN5b%2Fimage.png?alt=media\&token=fc96db36-5d17-413d-88f1-4a7de44c039d)

## Add a Storage Provider

A Storage Provider can be created on your team's settings page.

![](https://1320806315-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LHZRFUkajubOAmgu6Rd%2F-MKuHSNNY1DWGs1Q_k4p%2F-MKuUPBKRmggrHzKAwMh%2FScreen%20Shot%202020-10-30%20at%201.09.41%20PM.png?alt=media\&token=1dcf31f4-bab7-49f6-8032-4f50b4c7ff58)

**Note:** The "AccessKey" and SecretAccessKey" can be obtained from the "my security credentials" section of the AWS Identity and Access Management (IAM) portal. See the following:

![](https://1320806315-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LHZRFUkajubOAmgu6Rd%2F-MNk1ZQHv9EgCgTfkta0%2F-MNk1xZJSkZ1AnE8ZPH8%2Fimage.png?alt=media\&token=3018f4fa-adc6-4fe4-bd42-39c370be5220)

### CLI

A Storage Provider can also be created with the Gradient CLI

```
$ gradient storageProviders create s3 --name test --bucket my-bucket --accessKey=access-key --secretAccessKey=secret-key
Created storage provider: splgct3arqdh77c
```
