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

# Connecting S3 Buckets

> Slai comes with several integrations to import data from remote data stores, like S3 buckets. This guide explain how to connect an S3 bucket and use it in your sandbox.

### Connecting an Integration

Integrations live at the root level of Slai, which makes them accessible from any sandbox in your account. To create an integration, click the **Integrations** tab on the sidebar [on your dashboard.](https://slai.io/models)

<img src="https://mintcdn.com/slai-docs/0GTBstnyDK-8Z9OV/img/integrations/s3/integrate-sidebar.png?fit=max&auto=format&n=0GTBstnyDK-8Z9OV&q=85&s=588eaad69a05a5b8b66187240b220fbd" alt="Integrate Sidebar" width="252" height="342" data-path="img/integrations/s3/integrate-sidebar.png" />

You'll be presented with a list of existing integrations, if any exist. Click **Add Integration** to create a new one.

<img src="https://mintcdn.com/slai-docs/0GTBstnyDK-8Z9OV/img/integrations/s3/add-s3.png?fit=max&auto=format&n=0GTBstnyDK-8Z9OV&q=85&s=04155ab624f0a7e289f7aefc8358315f" alt="Add S3" width="1816" height="1030" data-path="img/integrations/s3/add-s3.png" />

You'll be prompted to enter a name, bucket name, AWS region, access key, and secret access key.

<img src="https://mintcdn.com/slai-docs/0GTBstnyDK-8Z9OV/img/integrations/s3/aws-info.png?fit=max&auto=format&n=0GTBstnyDK-8Z9OV&q=85&s=92778ab64a65628d209a12f989ac575f" alt="AWS information" width="1258" height="1252" data-path="img/integrations/s3/aws-info.png" />

Click **Create Connection**, and you'll see your new integration added to the Integrations list.

<img src="https://mintcdn.com/slai-docs/0GTBstnyDK-8Z9OV/img/integrations/s3/s3-added.png?fit=max&auto=format&n=0GTBstnyDK-8Z9OV&q=85&s=c74e89d8cd436dbd575ff0b5cfd7e510" alt="S3 Added" width="2342" height="532" data-path="img/integrations/s3/s3-added.png" />

### Using Bucket Contents

In the **Data Section** of the sandbox, click the **+** icon to create a new datasource. Select **Import from Integration**.

<img src="https://mintcdn.com/slai-docs/0GTBstnyDK-8Z9OV/img/integrations/s3/upload-data.png?fit=max&auto=format&n=0GTBstnyDK-8Z9OV&q=85&s=ca9d31e5cea46f1b2758f974ebbe7cb1" alt="Upload AWS data" width="226" height="541" data-path="img/integrations/s3/upload-data.png" />

You'll be prompted to select from a list of integrations connected to your account. Let's select the bucket we just created.

<img src="https://mintcdn.com/slai-docs/0GTBstnyDK-8Z9OV/img/integrations/s3/select-bucket.png?fit=max&auto=format&n=0GTBstnyDK-8Z9OV&q=85&s=bafc8014387d9222c5250d657c299264" alt="Select Bucket" width="870" height="558" data-path="img/integrations/s3/select-bucket.png" />

After selecting the integration, the data will be downloaded to the **Data Section** of the sandbox. You can use the data from your bucket like any ordinary folder or file.

<img src="https://mintcdn.com/slai-docs/0GTBstnyDK-8Z9OV/img/integrations/s3/bucket.png?fit=max&auto=format&n=0GTBstnyDK-8Z9OV&q=85&s=c532b01aca02b862f9884feeb6612335" alt="Bucket" width="458" height="198" data-path="img/integrations/s3/bucket.png" />

To use the data in your model, click **Copy Path** and paste the path into the sandbox.

<img src="https://mintcdn.com/slai-docs/0GTBstnyDK-8Z9OV/img/integrations/s3/copy-path.png?fit=max&auto=format&n=0GTBstnyDK-8Z9OV&q=85&s=df6faf11004d86d43a12714f3e50d095" alt="Copy path" width="456" height="376" data-path="img/integrations/s3/copy-path.png" />
