Embed a Redis integration in your product
Add Redis to your product for your customers, and give your AI agents governed access to it.
Redis holds working state rather than a system of record, and an embedded Redis integration is how your product uses a customer's own instance for that state instead of you running one per tenant. The data model is keys and the structures behind them, so strings, hashes, lists, sets, sorted sets and streams, addressed by key name and never queried with SQL. Volatility is the defining fact and the thing most integrations get wrong. A key can carry a TTL and expire, and under memory pressure an eviction policy can remove a key nobody expected to lose, so every read your product makes has to tolerate the key simply not being there. fastn holds the connection credentials per tenant and keeps the command surface current.
In your product
Embedded for your customers. Per-tenant auth, customized per customer, monitored by fastn.
- Let a customer supply their own instance so your product caches per-tenant working state in memory they already pay for.
- Use a sorted set to maintain a leaderboard or recency ranking your product renders, updated as events arrive.
- Consume a stream so work published by the customer's own services is picked up by your product in order.
- Set TTLs deliberately and treat a missing key as a normal outcome rather than an error to page on.
For your AI agents
Governed, audited access for the agents you build, through the MCP server.
- An agent reads a key or a hash field to check current state before it decides what to do.
- An agent writes a value with an expiry it has been permitted to set, and the key it touched is logged.
- An agent reads from a stream to see what has happened recently, scoped to that tenant's instance.
Example prompt
Check the cached session hash for this user and tell me how long before it expires.
Set up Redis in 4 steps
- 01Enable the Redis connector from your fastn dashboard.
- 02Have each customer authorise their own Redis instance, so commands run under their credentials rather than a shared connection.
- 03Map the keys, hashes, sorted sets and streams your product touches, and decide what a missing or expired key should mean.
- 04Call it from your product and expose it to your agents through the same governed connection.
Why teams use the Redis integration
- Ship a Redis integration without building it. Your customers connect their own Redis 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 Redis changes, its maintainer agent proposes a tested fix, so a Redis update does not start in your backlog.
Used by these teams
Often used alongside
Tools the same teams tend to run next to Redis, across other categories.
More in Data & Storage
Other Data & Storage apps your customers can connect the same way. All Data & Storage integrations
Redis integration FAQ
Can AI agents use this Redis integration?
Yes, through the fastn MCP gateway, scoped per customer and audited. An agent reads a key or a hash field to check current state before it decides what to do. For example: "Check the cached session hash for this user and tell me how long before it expires."
Does the Redis 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 Redis 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 Redis integration?
A common starting point: let a customer supply their own instance so your product caches per-tenant working state in memory they already pay for. The use cases above list the rest.
Add Redis to your product
Start free with 3 customer connections. No sales call required, and no per-customer integration code.