# How to connect LinkTwin to Grok Bot

```json
{
  "title": "How to connect LinkTwin to Grok Bot",
  "toolkit": "LinkTwin",
  "toolkit_slug": "link_twin",
  "framework": "Grok Bot",
  "framework_slug": "grok-bot",
  "url": "https://composio.dev/toolkits/link_twin/framework/grok-bot",
  "markdown_url": "https://composio.dev/toolkits/link_twin/framework/grok-bot.md",
  "updated_at": "2026-11-19T06:01:24.140Z"
}
```

## Introduction

Grok is xAI's assistant, and its bot builder lets you create a personal agent that holds context, runs skills, and connects to the apps you already use through plugins.
This guide explains how to connect LinkTwin to a Grok bot using Composio Connect, which handles OAuth, token refresh, and reliability so you do not have to. You add Composio as a plugin, authenticate once, then ask your bot to work with LinkTwin in plain language.
For exact tool slugs and parameter tables, see the [tool catalog in the Composio docs](https://docs.composio.dev/toolkits/link_twin).

## Also integrate LinkTwin with

- [ChatGPT](https://composio.dev/toolkits/link_twin/framework/chatgpt)
- [Claude Cowork](https://composio.dev/toolkits/link_twin/framework/claude-cowork)
- [Hermes](https://composio.dev/toolkits/link_twin/framework/hermes-agent)
- [Atomic Agent](https://composio.dev/toolkits/link_twin/framework/atomic-agent)

## TL;DR

Composio exposes 1,700+ apps to your Grok bot through a single connection, so you get:
- Connect to 1,700+ apps with on-demand tool loading, so you do not fill your context window with unnecessary tool definitions.
- Use programmatic tool calling through a remote workbench, letting the model write its own code to handle complex tool chaining. This reduces back-and-forth for frequent tool calls.
- Handle large tool responses outside the model context to keep conversations lean.

## Connect LinkTwin to Grok Bot

### Connecting LinkTwin to Grok Bot
Once Grok Bot is set up, you connect LinkTwin entirely from its interface, and the whole flow takes under a minute.
### Set up Grok Bot
Get access. Grok Bot is included with Cursor Ultra, Cursor Premium Teams, and SuperGrok Heavy. Get the desktop app for macOS or Windows from [x.ai/bot](https://x.ai/bot) and sign in. An iPhone companion app is also available, and your bots sync across devices.
Create a bot. Pick a suggested role or define your own, then give it a short name, one primary job, and a short description of how it should work. Focused bots work best, because a clear role gives the bot more useful context over time.
### Connect LinkTwin
### 1. Add the Composio plugin
Click the button. The Composio listing on x.ai opens and launches Grok Bot for you. If the app does not open on its own, click Add to Grok Bot.
[Add to Grok Bot](https://x.ai/bot/plugin/32661537)
Grok Bot opens the Composio plugin, showing its connector and skills. Click Add.
### 2. Authenticate
Go to the Installed section and click the Composio entry. You'll see its connector and skills listed.
Click Authenticate. You'll be taken to the Composio consent screen. Review the access it requests and click Authorize. Composio handles the OAuth handshake for you, so you never touch API keys or tokens.
### 3. Connect your LinkTwin account
Back in the chat, ask your bot to connect to LinkTwin or give it any LinkTwin task.
For example, ask it to:
- "Create a branded short link for campaign"
- "Get click analytics for last week"
- "Generate QR code for product landing page"
It will prompt you to authenticate and authorize access.
That's it. Composio's tools are now available in your Grok bot, and your LinkTwin account is ready to use.

## What is Grok Bot?

Grok is xAI's assistant, available as a chat interface and a bot builder for creating personal agents that run skills and connect to external apps.
With Composio Connect, your Grok bot can securely access apps like LinkTwin through MCP without you sharing account credentials directly with the agent.

## What is the LinkTwin MCP server, and what's possible with it?

The LinkTwin MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your LinkTwin account. It provides structured and secure access to your shortened links, analytics, domains, pixels, collections, and account details, so your agent can create links, manage existing links, review performance, and organize tracking resources on your behalf.
- Shortened link creation: Have your agent create shortened deep links with targeting rules, query parameters, access limits, tracking pixels, and collection assignments.
- Link management: Direct your agent to find, review, update, or permanently delete shortened links in your account.
- Click performance analysis: Let the agent examine clicks, unique clicks, trends, locations, referrers, browsers, devices, languages, and cities for a link.
- Domain and tracking organization: Instruct your agent to list available standard or branded domains, tracking pixels, and collections before creating or organizing links.
- Account usage review: Have your agent check your LinkTwin plan, usage, timezone, and feature limits.

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `LINK_TWIN_CREATE_LINK` | Create Link | Create a shortened deep link with optional access limits, targeting, query parameters, and pixel or collection assignments. Free accounts can shorten only LinkTwin-approved destination domains and apps; arbitrary destination websites require a paid plan. |
| `LINK_TWIN_DELETE_LINK` | Delete Link | Permanently delete one shortened link by numeric ID. This destructive action removes the link and its redirect and cannot be undone; use it only when the caller explicitly intends permanent deletion. |
| `LINK_TWIN_GET_ACCOUNT_INFO` | Get Account Info | Return the connected LinkTwin account's plan, usage, timezone, and feature limits. Use this before creating or updating links when plan availability is uncertain. |
| `LINK_TWIN_GET_LINK` | Get Link | Retrieve a LinkTwin shortened link by its numeric ID or full short URL. Returns its destination, targeting rules, collection and pixel assignments, access controls, and summary click analytics; an optional timezone controls returned dates. |
| `LINK_TWIN_GET_LINK_ANALYTICS` | Get Link Analytics | Return detailed clicks, unique clicks, time series, and geography, referrer, browser, device, language, and city breakdowns for one link. Free accounts retain only 14 days of analytics. |
| `LINK_TWIN_LIST_COLLECTIONS` | List Collections | Return one page of link collections available for organizing or assigning shortened links. |
| `LINK_TWIN_LIST_DOMAINS` | List Domains | Return standard LinkTwin short domains and branded domains available to the connected account. Branded domains are disabled on Free accounts. |
| `LINK_TWIN_LIST_LINKS` | List Links | Return one filtered page of shortened links owned by the connected account, including destination URLs, click totals, and assignments. |
| `LINK_TWIN_LIST_PIXELS` | List Pixels | Return one page of tracking pixels available for assignment to shortened links. |
| `LINK_TWIN_UPDATE_LINK` | Update Link | Partially update a shortened link's destination, access limits, targeting, query parameters, or assignments. Only explicitly supplied fields are changed; replacement arrays overwrite the complete existing value. Changing the destination URL requires a paid LinkTwin plan. |

## Supported Triggers

None listed.

## Creating MCP Server - Stand-alone vs Composio SDK

Once connected, your Grok bot can access the LinkTwin MCP server through Composio to run the actions you authorize, using plain language in the chat.

## Complete Code

None listed.

## Conclusion

### Way Forward
Now that LinkTwin is connected, extend your setup by connecting the other apps you already use every day, so your Grok bot can run true cross-app workflows end to end.
- Connect Calendar to turn threads into scheduled meetings automatically.
- Connect Slack or Teams to post summaries, approvals, and alerts where your team works.
- Connect Notion, Linear, Jira, or Asana to convert requests into tickets, tasks, and docs.
- Connect Drive, Dropbox, or OneDrive to fetch, file, and share attachments without manual steps.
Start with one workflow you do repeatedly, then keep adding apps as you find new handoffs. With everything behind a single connection, your bot can coordinate multiple tools safely and reliably in one conversation.

## How to build LinkTwin MCP Agent with another framework

- [ChatGPT](https://composio.dev/toolkits/link_twin/framework/chatgpt)
- [Claude Cowork](https://composio.dev/toolkits/link_twin/framework/claude-cowork)
- [Hermes](https://composio.dev/toolkits/link_twin/framework/hermes-agent)
- [Atomic Agent](https://composio.dev/toolkits/link_twin/framework/atomic-agent)

## Related Toolkits

- [Reddit](https://composio.dev/toolkits/reddit) - Reddit is a social news platform with thriving user-driven communities (subreddits). It's the go-to place for discussion, content sharing, and viral marketing.
- [Facebook](https://composio.dev/toolkits/facebook) - Facebook is a social media and advertising platform for businesses and creators. It helps you connect, share, and manage content across your public Facebook Pages.
- [Linkedin](https://composio.dev/toolkits/linkedin) - LinkedIn is a professional networking platform for connecting, sharing content, and engaging with business opportunities. It's the go-to place for building your professional brand and unlocking new career connections.
- [Active campaign](https://composio.dev/toolkits/active_campaign) - ActiveCampaign is a marketing automation and CRM platform for managing email campaigns, sales pipelines, and customer segmentation. It helps businesses engage customers and drive growth through smart automation and targeted outreach.
- [ActiveTrail](https://composio.dev/toolkits/active_trail) - ActiveTrail is a user-friendly email marketing and automation platform. It helps you reach subscribers and automate campaigns with ease.
- [Adobe Marketing Agent MCP](https://composio.dev/toolkits/adobe_marketing_agent_mcp) - Adobe Marketing Agent MCP is Adobe's hosted MCP service that exposes marketing context, preferences, and agent capabilities. Use it to provide agents with campaign, audience, and analytics context via a managed integration.
- [Ahrefs](https://composio.dev/toolkits/ahrefs) - Ahrefs is an SEO and marketing platform for site audits, keyword research, and competitor insights. It helps you improve search rankings and drive organic traffic.
- [AimTell](https://composio.dev/toolkits/aimtell) - AimTell is a web push notification platform for managing websites, subscribers, campaigns, segments, and delivery analytics. Use it to send targeted browser notifications and measure engagement across your web push campaigns.
- [Amcards](https://composio.dev/toolkits/amcards) - AMCards lets you create and mail personalized greeting cards online. Build stronger customer relationships with easy, automated card campaigns.
- [AppFollow](https://composio.dev/toolkits/appfollow) - AppFollow is an app-store analytics platform for ratings, reviews, keywords, and app performance. It helps teams improve app visibility, understand user feedback, and manage review workflows.
- [AWeber](https://composio.dev/toolkits/aweber) - AWeber is an email marketing platform for creating campaigns, lists, and landing pages. It helps businesses automate email outreach and measure subscriber engagement.
- [Beamer](https://composio.dev/toolkits/beamer) - Beamer is a news and changelog platform for in-app announcements and feature updates. It helps companies boost user engagement by sharing news where users are most active.
- [Beehiiv](https://composio.dev/toolkits/beehiiv) - Beehiiv is a newsletter platform for creating and managing publications and subscribers. It helps grow audience engagement and monetize your mailing list.
- [Benchmark email](https://composio.dev/toolkits/benchmark_email) - Benchmark Email is a platform for creating, sending, and tracking email campaigns. It's built to help you engage audiences and analyze results—all in one place.
- [Bigmailer](https://composio.dev/toolkits/bigmailer) - BigMailer is an email marketing platform for managing multiple brands with white-labeling and automation. It helps teams streamline campaigns and simplify integration with Amazon SES.
- [Bitly](https://composio.dev/toolkits/bitly) - Bitly is a link management platform for shortening, customizing, sharing, and tracking links and QR codes. It helps teams create branded links and measure engagement across campaigns.
- [BlueFox Email](https://composio.dev/toolkits/bluefox_email) - BlueFox Email is an email API for managing contacts, subscriber lists, and sending transactional and triggered messages. Use it to reliably send transactional and triggered emails and manage subscribers at scale.
- [Brandfetch](https://composio.dev/toolkits/brandfetch) - Brandfetch is an API that delivers company logos, colors, and visual branding assets. It helps marketers and developers keep brand visuals consistent everywhere.
- [Braze](https://composio.dev/toolkits/braze) - Braze is a customer engagement platform for managing user data, messaging, campaigns, and analytics. Use it to deliver targeted, multi-channel messaging and analyze campaign performance.
- [Brevo](https://composio.dev/toolkits/brevo) - Brevo is an all-in-one email and SMS marketing platform for transactional messaging, automation, and CRM. It helps businesses engage customers and streamline communications through powerful campaign tools.

## Frequently Asked Questions

### What are the differences in Tool Router MCP and LinkTwin MCP?

With a standalone LinkTwin MCP server, the agents and LLMs can only access a fixed set of LinkTwin tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from LinkTwin and many other apps based on the task at hand, all through a single MCP endpoint.

### Can I use Tool Router MCP with Grok Bot?

Yes, you can. Grok Bot fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right LinkTwin tools.

### Can I manage the permissions and scopes for LinkTwin while using Tool Router?

Yes, absolutely. You can configure which LinkTwin scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

### How safe is my data with Composio Tool Router?

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your LinkTwin data and credentials are handled as safely as possible.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
