Embed an X integration in your product
Add X to your product for your customers, and give your AI agents governed access to it.
X, the platform that was Twitter, is a simple publishing surface and a complicated commercial one. What an integration does is straightforward: post on behalf of an account that authorised you, read that account's own posts and the replies and metrics attached to them, look up users, and search recent posts within whatever access you hold. The complication is that access. There is no free tier worth designing a feature on, calls are metered rather than bundled generously, and the deeper capabilities such as full archive search sit behind enterprise agreements, so the honest sequence is to price the access before you promise the feature, in the same way LinkedIn's partner review has to come before anybody sells one. Every connection is one customer's own account, so what gets published carries their name and the metered cost lands on them. fastn keeps those authorisations per tenant.
In your product
Embedded for your customers. Per-tenant auth, customized per customer, monitored by fastn.
- Let each customer authorise their own X account so anything published goes out as them, never from an account you own.
- Publish or schedule a post from inside your product, so a social team does not leave your app to send it.
- Read replies and post metrics back so engagement appears beside the content that earned it.
- Be explicit with customers about which access level a feature needs, since calls are metered and the deeper endpoints are priced separately.
For your AI agents
Governed, audited access for the agents you build, through the MCP server.
- An agent drafts a post and waits for a person to approve it before anything becomes public.
- An agent publishes an approved post to the authorised account, with the account it used recorded.
- An agent reports how recent posts performed from that account's own metrics.
Example prompt
How did our posts on X perform this week, and which replies still need an answer?
Set up X in 4 steps
- 01Enable the X connector in your fastn dashboard.
- 02Confirm which API access level your feature requires and what it costs, before you build against it.
- 03Have each customer authorise their own account, then map the post, reply and metric fields your product uses.
- 04Call it from your product and expose the same connection to your agents through the MCP gateway.
Why teams use the X integration
- Ship an X integration without building it. Your customers connect their own X account inside your product and work their posts, pages and comments there, and nothing lands on your team.
- Handle the part that actually costs time: anything published is public immediately, and each network gates access behind its own review process. fastn handles the auth, token refresh, rate limits and pagination, and when X changes, its maintainer agent proposes a tested fix, so an X update does not start in your backlog.
Used by these teams
Often used alongside
Tools the same teams tend to run next to X, across other categories.
More in Social & Community
Other Social & Community apps your customers can connect the same way. All Social & Community integrations
X integration FAQ
Can AI agents use this X integration?
Yes, through the fastn MCP gateway, scoped per customer and audited. An agent drafts a post and waits for a person to approve it before anything becomes public. For example: "How did our posts on X perform this week, and which replies still need an answer?"
Can my product publish to a customer's own X account?
Yes. Each customer authorises their own account, so a post goes out as them, under their permissions, never from a shared account you own. That also means a customer revoking access affects only their own connection.
Can I read engagement back from X?
Yes. Comments, reactions and reach come back scoped per tenant, so your product can act on them or show them in your own reporting without one customer's numbers mixing with another's.
What can I build with the X integration?
A common starting point: let each customer authorise their own X account so anything published goes out as them, never from an account you own. The use cases above list the rest.
Add X to your product
Start free with 3 customer connections. No sales call required, and no per-customer integration code.