Integration · Marketing
Connect Claude & ChatGPT to Dub
Ask your AI to make a short link for a campaign, which links got the most clicks, or what a partner has earned. It can create, update and organize short links with tags, folders and UTM parameters, pull click, lead and sale analytics and list events. It can also make QR codes and read customers, partners, commissions and payouts.
Free plan, no credit card. Takes about a minute.
Try asking
“Make a short link to our pricing page with utm_source=newsletter.”
The AI creates the short link with the UTM parameters and returns the short URL.
“Which links got the most clicks last 30 days?”
It pulls analytics grouped by top links over that interval.
“Where do the clicks on our launch link come from?”
It reads the link's analytics grouped by country and device.
What your AI can do
Short links
Create, update, count and delete short links with custom domains, keys, UTM parameters, tags, folders, expiry and passwords.
Analytics and events
Pull click, lead and sale analytics by link, country, device or time, and list individual events.
Partners and customers
Add and list partners, read partner analytics, commissions and payouts, and look up tracked customers.
“Point go.example.com/demo to the new booking page.”
It finds the link and updates its destination URL.
“Make a QR code for our menu link.”
It creates a QR code image for the URL, with colors if you want.
“What are the pending payouts for our partners?”
It lists partner payouts filtered by status.
55 tools for Dub
These tools are switched on when you connect. You can switch any of them off, or require your approval before it runs.
approve_applicationVisible to othersApprove a application. Has effects visible outside this system. API summary: Approve a partner application.approve_submissionVisible to othersApprove a submission (submission id). Has effects visible outside this system. API summary: Approve a bounty submission.archive_partnerVisible to othersDeactivate a partner. Has effects visible outside this system.count_linksCount short links, optionally filtered by domain, tags, folder or `search`, or grouped with `group_by`.create_a_link_for_a_partnerChanges dataCreate a new link. Search links first to avoid duplicates. API summary: Create a link for a partner.create_banChanges dataCreate a new ban. Required: reason. API summary: Ban a partner.create_bulkVisible to othersCreate a new bulk. Has effects visible outside this system. API summary: Bulk create links.create_commissionChanges dataCreate a new commission. Search commissions first to avoid duplicates. API summary: Create commission.create_discount_codeChanges dataCreate a new discount code. Required: partner id or link id. API summary: Create a discount code.create_domainChanges dataCreate a new domain. Required: slug. Search domains first to avoid duplicates. API summary: Create a domain.create_folderChanges dataCreate a link folder with `name`, `description` and `access_level`.create_linkChanges dataCreate a short link to `url`, with optional custom `domain` and `key`, `tag_ids`, `folder_id`, UTM parameters, expiry, password and title.create_partnerChanges dataAdd a partner to your program with `email`, `name` and optional group and link settings.create_referralDeletesCreate a new referral. Destructive action; may require approval. API summary: Create a referrals embed token.create_registerChanges dataCreate a new register. Required: domain. API summary: Register a domain.create_tagChanges dataCreate a link tag with `name` and optional `color`.delete_bulksMoves moneyPermanently delete a bulk. Financial or irreversible action; may require approval. API summary: Bulk delete links.delete_customerDeletesPermanently delete a customer by customer id. Destructive action; may require approval.delete_discount_codeDeletesPermanently delete a discount code by id or code. Destructive action; may require approval.delete_domainDeletesPermanently delete a domain by domain slug. Destructive action; may require approval.delete_folderDeletesPermanently delete a folder by folder id. Destructive action; may require approval.delete_linkDeletesPermanently delete a short link by `link_id`. The short URL stops working.delete_tagDeletesPermanently delete a tag by tag id. Destructive action; may require approval.get_analyticsGet click, lead and sale analytics, filtered by link, domain, tag, country and date, grouped with `group_by` (e.g. timeseries, countries, devices, top_links) over an `interval`.get_customerGet one customer by `customer_id`.get_domain_statusGet the current status of a domain. API summary: Check the availability of one or more domains.get_lead_statusChanges dataGet the current status of a lead. API summary: Track a lead.get_linkGet one short link by `link_id`, `external_id` or `domain` plus key, with destination, tags and click counts.get_open_statusChanges dataGet the current status of a open. API summary: Track a deep link open event.get_partner_analyticsGet analytics for a partner by `partner_id` or `tenant_id`, grouped with `group_by` over an `interval`.get_qr_codeGet a QR code image for a `url`, with optional colors, logo and margin.get_sale_statusChanges dataGet the current status of a sale. API summary: Track a sale.list_applicationsList applications. Optional filters: country or group id. Results are paginated. API summary: List all pending partner applications.list_bounty_submissionsList submissions for a bounty. Optional filters: status, group id, partner id, sort by or sort order. Results are paginated. API summary: List bounty submissions.list_commissionsList partner commissions, filtered by partner, customer, `status`, `type` and date.list_customersList customers tracked by Dub conversions, filtered by `email`, `external_id`, `link_id` or `search`.list_discount_codesList discount codes. Optional filters: partner id or discount id. Results are paginated.list_domainsList the custom domains in the workspace.list_eventsList individual click, lead or sale events (`event`), filtered by link, domain, country and date; paginate with `page` and `limit`.list_foldersList link folders, filtered by `search`.list_linksList short links, filtered by `search`, `domain`, `tag_ids`, `folder_id` or `show_archived`; paginate with `page` and `limit`.list_links_2List links. Optional filters: partner id or tenant id. API summary: Retrieve a partner's links.list_partnersList affiliate partners in your program, filtered by `search`, `email`, `status` or `country`.list_payoutsList partner payouts, filtered by `status`, partner or invoice.list_tagsList link tags, filtered by `search`.reject_applicationVisible to othersReject a application. Has effects visible outside this system. API summary: Reject a partner application.reject_submissionVisible to othersReject a submission (submission id). Has effects visible outside this system. API summary: Reject a bounty submission.update_bulksVisible to othersUpdate an existing bulk. Only the fields you pass are changed. Has effects visible outside this system. API summary: Bulk update links.update_commissionChanges dataUpdate an existing commission identified by commission id. Only the fields you pass are changed. API summary: Update a commission.update_customerChanges dataUpdate an existing customer identified by customer id. Only the fields you pass are changed. API summary: Update a customer.update_domainChanges dataUpdate an existing domain identified by domain slug. Only the fields you pass are changed. API summary: Update a domain.update_folderChanges dataUpdate a folder's name, description or access level by `folder_id`.update_linkChanges dataUpdate a short link by `link_id`: destination `url`, key, tags, folder, UTM parameters, expiry or archived state.update_tagChanges dataUpdate a tag's name or color by `tag_id`.update_upsertsVisible to othersUpdate an existing upsert. Has effects visible outside this system. API summary: Upsert a link.
Set up in three steps
- 1
Pick the app
Create a free HeyMyApps account and choose Dub from the app list.
- 2
Paste your key
Paste a Dub API key. In your Dub workspace go to Settings > API Keys (app.dub.co/settings/tokens), create a key and copy it. It starts with dub_ and is tied to one workspace.
- 3
Add the link to your AI
You get a personal MCP link. Add it to Claude, ChatGPT or Cursor:
- Click your name, then Settings › Connectors › Add custom connector.
- Paste your link as the Remote MCP server URL.
- Switch it on from the + menu in a chat.
Questions
What can the AI do in Dub?
It can read and count short links, analytics, events, domains, tags, folders, customers, partners, partner analytics, commissions and payouts, and make QR codes. It can create and update links, tags and folders, add partners and delete links.
Does the AI see my Dub credentials?
No. Your Dub credentials are encrypted at rest and never shown to the AI. After you save them, they are not shown again, not even to you. The AI only sees the results of the tools it calls.
Can I control what the AI is allowed to do?
Yes. You choose which tools are switched on, so you can start with analytics only. Deleting a link is permanent and the short URL stops working, so it can require your approval before it runs. Every tool call is logged.
Does it work with ChatGPT?
Yes. In ChatGPT go to Settings › Apps & Connectors › Advanced and turn on Developer mode, then add your HeyMyApps link. Developer mode needs a paid ChatGPT plan: Plus, Pro, Business or Enterprise. The same link also works in Claude (Settings › Connectors › Add custom connector), Cursor and other MCP clients.
What does it cost?
HeyMyApps has a free plan with no credit card required. Paid plans bill per completed task. You also need your own Dub account.
Can I use more than one Dub workspace?
Each Dub API key is tied to one workspace, so the AI works in the workspace whose key you paste. To work in another workspace, you need an API key created in that workspace.
Related integrations
Let your AI work in Dub today.
Start free. Your key stays encrypted, and you decide what the AI may do.
Connect Dub freeHeyMyApps is not affiliated with Dub. Product names are trademarks of their owners.






