> For the complete documentation index, see [llms.txt](https://enterprise-docs.datacamp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://enterprise-docs.datacamp.com/integrating-our-data-into-your-tools-via-data-connector-2.0/using-data-connector-2.0/downloading-your-data/aws-cli-linux.md).

# AWS CLI (Linux)

This guide describes how to access your data through the AWS CLI. Below, you will find the steps you can follow to access your data [using the AWS Command Line Interface](https://aws.amazon.com/cli/)

**Step 1:** Install the Amazon AWS CLI using the instructions on this page: <https://aws.amazon.com/cli/>

**Step 2:** Once installed, you need to initialize your AWS configuration by typing the following command:

```
aws configure
```

This command will ask you for your `AWS Access Key ID`, `AWS Secret Access Key`, and `AWS Region` which you can all retrieve from [Your credentials](/integrating-our-data-into-your-tools-via-data-connector-2.0/getting-started-with-data-connector-2.0/your-credentials.md).

The `Default output format` option you can leave empty.

**Step 3:** Now you can retrieve a list of all files in your S3 bucket using the CLI.

To list all files, for example, use the following command:

```
aws s3 ls s3://your-bucket-name
```

Or use the following command to download a file to your local hard drive home directory:

```
aws s3 cp s3://your-bucket-name/filename.csv ~/filename.csv
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://enterprise-docs.datacamp.com/integrating-our-data-into-your-tools-via-data-connector-2.0/using-data-connector-2.0/downloading-your-data/aws-cli-linux.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
