# Managed Credentials

## Managing your Credentials with Activeloop

### Connecting Deep Lake Datasets to Activeloop Platform

Datasets in Activeloop storage are automatically connected to [Activeloop Platform](https://app.activeloop.ai/). Datasets in non-Activeloop storage (S3, GCS) can be connected to Activeloop Platform using the UI below:

{% embed url="<https://www.loom.com/share/1bc7a52dd1604d89b88d0a3643a6af54>" %}

#### Enabling Cross-Origin Resource Sharing (CORS)

In order to visualize you data, please enable CORS in the bucket containing the dataset by inserting the snippet below in the CORS section of the Permissions tab:

```
[
    {
        "AllowedHeaders": [
            "*"
        ],
        "AllowedMethods": [
            "GET",
            "PUT",
            "POST",
            "DELETE"
        ],
        "AllowedOrigins": [
            "*"
        ],
        "ExposeHeaders": []
    }
]
```

Once connected, datasets can be loaded in the Python API using their Deep Lake path or their cloud path:

* Using the Deep Lake path (`hub://org_name/dataset_name`) will automatically load the managed credentials required to authenticate with the cloud storage provider.
* Using the cloud path (`s3://bucket/...)`will require the user to specify credentials using the [API here](/v3.0.0/storage-and-credentials/storage-options.md).

### Managed Credentials UI

All managed credentials that are used by Deep Lake and Activeloop Platform can be added, renamed, edited, or deleted via the UI below:

{% embed url="<https://www.loom.com/share/36fdc1120fe1498d91236a6cb70df1e0>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs-v3.activeloop.ai/v3.0.0/storage-and-credentials/managed-credentials.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
