Security & Identity · Integration

Amazon Cognito

Add Amazon Cognito to your product for your customers, and give your AI agents governed access to it.

Embed an Amazon Cognito integration so your customers can manage their own user pools, users, and groups from inside your product, with access scoped per tenant and every call recorded. fastn handles each customer's credentials and API upkeep. Only the scopes needed for the actions you enable are ever requested.

Start freeBook a demo

In your product

Embedded for your customers. Per-tenant auth, no per-customer code, maintained by fastn.

Let customers read users and group membership from their own user pool.

Create, disable, or update users from your product.

Manage group membership so access changes happen where admins already work.

Trigger your product when a user is created, confirmed, or disabled.

For your AI agents

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

An agent checks a user's status and groups before answering an access question.

An agent disables a user within governed permissions during offboarding.

An agent reacts to a new signup and provisions the right group membership.

Example prompt

List users created in the last week who have never confirmed their account.

Set up Amazon Cognito in 4 steps

  1. 01Open the Amazon Cognito connector from your fastn dashboard.
  2. 02Have each customer authenticate their AWS account with least-privilege scopes.
  3. 03Map the user pools and attributes your product uses, then enable actions and triggers.
  4. 04Call them from your product, or expose them to an agent through the MCP server.

Why teams use the Amazon Cognito integration

What you get by embedding it with fastn instead of building it yourself.

  • Ship an Amazon Cognito integration without building it. Your customers connect their own Amazon Cognito account inside your product and work their users, groups and roles there, with no per-customer code on your side.
  • Handle the part that actually costs time: the blast radius of an error is large, so least-privilege and auditability are non-negotiable. fastn owns the auth, token refresh, rate limits, pagination and breaking-change fixes, so an Amazon Cognito update is not your on-call problem.
  • One integration serves your product and your agents. The same governed Amazon Cognito connection powers in-product features and gives AI agents scoped, audited access, so you keep access and identity in step across a customer's estate without wiring it twice.

Used by these teams

Security & IT

Compare with

OktaAuth0Microsoft Entra ID

Often used alongside

Tools the same teams tend to run next to Amazon Cognito, across other categories.

ServiceNowDatadogPagerDutyAWS CloudWatch

Amazon Cognito integration FAQ

How do I add an Amazon Cognito integration to my product?

Enable the Amazon Cognito connector in your fastn dashboard, then let each customer authenticate their own Amazon Cognito account. fastn handles the OAuth flow, token storage and refresh per tenant, so there is no Amazon Cognito client code in your app and no per-customer branch in your codebase. Setup is 4 steps.

Do my customers each connect their own Amazon Cognito account?

Yes. Every connection is scoped to the individual customer, so each authorises their own Amazon Cognito account and only ever sees their own users, groups and roles. That per-tenant isolation is the point of an embedded integration: you support the long tail of customer setups without maintaining an integration per customer.

Can AI agents use this Amazon Cognito integration?

Yes. The same connection is exposed to your agents through the fastn MCP gateway, with permissions scoped per tenant and every call audited. An agent checks a user's status and groups before answering an access question.

Who maintains the Amazon Cognito integration?

fastn does. When Amazon Cognito changes an endpoint, deprecates a field or alters its auth, the fix lands in the connector rather than in your backlog, and your customers' connections keep working.

What permissions does the Amazon Cognito integration need?

Only the scopes required for the actions you enable. Each customer grants access to their own Amazon Cognito tenant, permissions are scoped per tenant, and every call is recorded so an access change can be traced to its source.

Can access changes be automated safely?

Yes. Provisioning and deprovisioning can be driven from your product or an agent within governed permissions, with every action audited, which is what makes automated access changes reviewable after the fact.

What can I build with the Amazon Cognito integration?

A common starting point: read users and group membership from their own user pool. Teams also use it for the other use cases listed above, and expose it to agents for governed reads and writes.

How much does the Amazon Cognito integration cost?

It is included. Pricing is based on connected accounts, not on how many connectors you enable, so adding Amazon Cognito does not change your per-connector cost. You can start free with 3 connected accounts.

Add Amazon Cognito to your product

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

Start freeRead the docs
← All integrations