← All integrations

Data & Storage · Integration

Embed an AWS Athena integration in your product

Add AWS Athena to your product for your customers, and give your AI agents governed access to it.

Embed an AWS Athena integration so your customers can query their own data lake from inside your product and read results back, with access scoped per tenant and every query logged. Because each customer's tables and schemas differ, mapping is configuration rather than code, so an unusual schema does not require a release from you.

In your product

Embedded for your customers. Per-tenant auth, customized per customer, monitored by fastn.

  • Let customers run queries against their own tables from inside your product.
  • Read query results into your product without moving data elsewhere.
  • Read table and column metadata at runtime so your product adapts per customer.
  • Trigger your product when a long-running query finishes.

For your AI agents

Governed, audited access for the agents you build, through the MCP server.

  • An agent runs a scoped query to answer a question with real data.
  • An agent reads schema metadata before composing a query.
  • An agent reacts to a completed query and files the result downstream.

Example prompt

Query last month's event table and return the ten most common error codes by count.

Set up AWS Athena in 4 steps

  1. 01Open the AWS Athena connector from your fastn dashboard.
  2. 02Have each customer authenticate their AWS account with least-privilege scopes.
  3. 03Map the workgroups, databases, and tables your product queries.
  4. 04Call them from your product, or expose them to an agent through the MCP server.

Why teams use the AWS Athena integration

  • Ship an AWS Athena integration without building it. Your customers connect their own AWS Athena account inside your product and work their records, datasets and fields there, and nothing lands on your team.
  • Handle the part that actually costs time: schemas differ per customer and change without notice, and volumes can be large. fastn handles the auth, token refresh, rate limits and pagination, and when AWS Athena changes, its maintainer agent proposes a tested fix, so an AWS Athena update does not start in your backlog.

Used by these teams

AWS Athena integration FAQ

Can AI agents use this AWS Athena integration?

Yes, through the fastn MCP gateway, scoped per customer and audited. An agent runs a scoped query to answer a question with real data. For example: "Query last month's event table and return the ten most common error codes by count."

Does the AWS Athena integration adapt when a customer's schema changes?

Schema and field mapping is configuration per customer, so a change on their side is a mapping update rather than a code change and a release on yours.

How are large AWS Athena reads handled?

Pagination and throttling are handled for you, and initial backfills are rate-limited so a large import does not exhaust a customer's API allowance.

What can I build with the AWS Athena integration?

A common starting point: run queries against their own tables from inside your product. The use cases above list the rest.

Add AWS Athena to your product

Start free with 3 customer connections. No sales call required, and no per-customer integration code.