# Examples

The following examples show how to use the AWS S3 connector:In example 1, the AWS S3 is the source, and an entity is a destination.In example 2, the AWS S3 is the destination, and an entity is the source.

#### Prerequisites for the examples <a href="#prerequisites-for-the-examples" id="prerequisites-for-the-examples"></a>

For both the examples below, the following are created:

1. 1.An Entity with the name CustomersData with the following fields: (Data has already been added to the entity.)
   * Customer\_ID as GUID
   * Name as string
   * Age as integer
2. 2.CSV file on AWS S3 in a bucket named “langstacktestbucket” with a CSV file named “CustomersData”. It has the following columns to be mapped to the entity:
   1. 1.Customer\_ID
   2. 2.Name
   3. 3.Age
3. 3.Connection is established through the AWS S3 connector.


---

# 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.langstack.com/welcome/in-depth-learning/connectors/aws-connector/using-s3-connector-in-etl-pipeline/examples.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.
