> For the complete documentation index, see [llms.txt](https://docs.e6data.com/query-engine/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.e6data.com/query-engine/guides/catalogs/aws-glue-catalog.md).

# AWS Glue Catalog

Connect an AWS Glue Data Catalog to your e6data workspace to query data registered in Glue and stored in S3.

## Connect to AWS Glue

1. Open your workspace and go to the **Catalogs** section in the sidebar, then click **Create Catalog**.
2. Give the catalog a name and select **AWS Glue** as the catalog type.
3. Select the **cloud resource** if you created a Serverless workspace.
4. Select the AWS region your Glue metastore is in.
5. When asked whether the Glue metastore and S3 data source are in the **same AWS account** as the e6data workspace:
   * If yes, select **Yes** and continue.
   * If not, select **No** and configure [cross-account access](/query-engine/guides/catalogs/cross-account/aws-glue.md), providing the requested details of the target catalog.
6. Click **Validate**. This tests connectivity and discovers the Glue databases in the selected region.
7. Choose the Glue databases/schemas you want to query. You can change this selection later.
8. To enable automatic catalog updates, toggle on auto-refresh and set the desired interval; otherwise continue.
9. When the settings are correct, click **Create**.
10. You're redirected to the catalog list. Once creation succeeds, the catalog status changes to **ACTIVE**. If creation fails, hover over the status bar to see the error - see [Catalog errors](/query-engine/reference/error-codes/catalog.md).

## Edit a Glue connection

Editing a Glue connection lets you change the databases and schemas available for querying.

{% hint style="info" %}
To change connection details (region, and so on), delete and recreate the connection.
{% endhint %}

1. In the **Catalogs** section, click the catalog name to open its summary page.
2. Click **Edit Catalog** at the top right.
3. Select or deselect schemas as required.
4. To enable automatic catalog updates, toggle on auto-refresh and set the desired interval; otherwise continue.
5. Click **Update Catalog**.

## Delete a Glue connection

1. In the **Catalogs** section, click the name of the catalog you want to delete to open its summary page.
2. Click **Delete Catalog** at the top right and confirm. The catalog is removed; clusters attached to it lose access.

## See also

* [Catalogs overview](/query-engine/guides/catalogs.md)
* [Register and manage catalogs](/query-engine/guides/catalogs/register-and-manage-catalogs.md)
* [Cross-account access](/query-engine/guides/catalogs/cross-account.md)
* [Catalog errors](/query-engine/reference/error-codes/catalog.md)


---

# 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://docs.e6data.com/query-engine/guides/catalogs/aws-glue-catalog.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.
