> For the complete documentation index, see [llms.txt](https://knowledgebase.fabricdata.com/insights/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://knowledgebase.fabricdata.com/insights/data-hub/data-access.md).

# Data access

The Data Hub is delivered over **S3-compatible object storage**. Depending on the agreement, the data is served from **Amazon S3** or from **DigitalOcean Spaces** (S3 technology). In both cases the client accesses with standard S3 tools (AWS SDKs, `aws s3`, `s3cmd`, libraries like boto3) — only the endpoint and the way credentials are obtained change.

{% tabs %}
{% tab title="Amazon S3 (via AWS Marketplace)" %}
The dataset is published as a **data product on AWS Marketplace**. The client subscribes from their own AWS account and gets read access, without Fabric copying anything to their infrastructure.

| Parameter           | Value                      |
| ------------------- | -------------------------- |
| Backend             | `origin-insights-prm`      |
| Region              | `us-east-2`                |
| Endpoint            | `s3.amazonaws.com`         |
| Marketplace listing | **Fabric Origin Insights** |
| Model               | *Subscription*             |

{% stepper %}
{% step %}

## Search for the product

Search for the product on AWS Marketplace: **Fabric Origin Insights** (ID `1qvtfazbvpc1jvqf93tdqqg7g`) — *confirm public listing URL.*
{% endstep %}

{% step %}

## Subscribe

Subscribe from the AWS account where the data will be consumed.
{% endstep %}

{% step %}

## Accept the terms

Accept the terms of the data agreement.
{% endstep %}

{% step %}

## Consume the data

Consume via native S3: Athena, Spark, or `aws s3` with the role granted by the subscription.
{% endstep %}
{% endstepper %}
{% endtab %}

{% tab title="DigitalOcean Spaces (S3-compatible)" %}
The data is served from a DigitalOcean **Space**. Access is via an **access key / secret** pair provided by Fabric, pointing to the Spaces regional endpoint.

<table><thead><tr><th width="308.01953125">Parameter</th><th>Value</th></tr></thead><tbody><tr><td>Backend</td><td>DigitalOcean Spaces</td></tr><tr><td>Region</td><td>Delivered by Fabric</td></tr><tr><td>Endpoint</td><td><code>https://&#x3C;region>.digitaloceanspaces.com</code></td></tr><tr><td>Space</td><td>Delivered by Fabric</td></tr><tr><td>Credentials</td><td>Delivered by Fabric</td></tr></tbody></table>

Example with AWS CLI pointing to the Spaces endpoint:

```bash
aws s3 ls s3://<space>/ \
  --endpoint-url https://<region>.digitaloceanspaces.com
```

```python
# boto3
import boto3
s3 = boto3.client(
    "s3",
    endpoint_url="https://<region>.digitaloceanspaces.com",
    aws_access_key_id="<key>",
    aws_secret_access_key="<secret>",
)
```

> Tools that expect native S3 may require configuring the S3-compatible endpoint. Most SDKs support it via the `endpoint_url` / `--endpoint-url` parameter.
> {% endtab %}
> {% endtabs %}

## Permissions and network

* Access is **read-only** over the contracted dataset's prefix.
* No need to open ports or VPN: it's native HTTPS access to the S3/Spaces endpoint.
* On Amazon S3, permissions are granted by the Marketplace subscription; on DigitalOcean Spaces, by the access keys provided by Fabric.

## Querying with Athena / Glue (Amazon S3 only)

For Amazon S3, the client can register the tables in their own **AWS Glue Data Catalog** pointing at the dataset's location and query them with Athena. (Athena doesn't query DigitalOcean Spaces directly; in that case, download or sync the files first.)

See [Structure and files](/insights/data-hub/structure-and-files.md) for paths and the DDL with JSON SerDe, and [Schemas by dataset](/insights/data-hub/schemas-by-dataset.md) for the fields.

## Support

For subscription, credentials, or access issues, see [Support and contact](/insights/support-and-contact.md).

***

> We hope you found this article helpful. If you have a question this article doesn't address, reach out on the [Service Desk](https://fabric.atlassian.net/servicedesk/customer/portal/336).
