# Enabling CORS

## Enabling CORS in Azure for Data Visualization

Cross-Origin Resource Sharing (CORS) is typically enabled by default in Azure. If that's not the case in your Azure account, in order to visualize Deep Lake datasets stored in your own Azure storage in the [Deep Lake app](https://app.activeloop.ai/), please enable [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing) in the storage account containing the Deep Lake dataset and any source data in linked tensors.

### Steps for enabling CORS in Azure

1\. Login to the Azure.

2\. Navigate to the `Storage account` with the relevant data.

3\. Open the `Resource sharing (CORS)` section on the left nav.

<figure><img src="/files/w32ajQr4C3XID361CwyG" alt=""><figcaption></figcaption></figure>

4\. Add the following items to the permissions.

<figure><img src="/files/mRh8eXcCtnSwuogBlDwE" alt=""><figcaption></figcaption></figure>

| Allowed origins             | Allowed methods | Allowed headers |
| --------------------------- | --------------- | --------------- |
| <https://app.activeloop.ai> | GET, HEAD       | \*              |


---

# 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/setup/storage-and-creds/managed-credentials/microsoft-azure/enabling-cors.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.
