Home / Blog / How to Connect LinkedIn Ads to Grok

How to Connect LinkedIn Ads to Grok

Connect LinkedIn Ads to Grok free →

Free on one LinkedIn ad account, with a 14-day Analyst trial. No card needed.

  1. Sign up with LinkedIn at web.kiin.co and connect your LinkedIn Ads account. LinkedIn asks for two permissions: the Ads API, and Community Management (for thought leader ads).
  2. In Grok, open grok.com/connectors → New Connector → Custom, paste https://mcp.kiin.co/mcp and sign in.
  3. Ask a question you already know the answer to, such as “What did we spend on LinkedIn last month?”, and check it against Campaign Manager.
Checked 26 Oct 2026 against docs.x.ai (Grok connectors and remote MCP tools)
Quick Answer
To connect LinkedIn Ads to Grok, sign up for Kiin with LinkedIn, then go to grok.com/connectors → New Connector → Custom, paste https://mcp.kiin.co/mcp and sign in. xAI says custom connectors are available to all Grok users; on Business and Enterprise an admin provisions them first. Developers can also attach Kiin to the xAI API as a remote MCP tool.

Kiin Intelligence is the MCP server that gives Grok your LinkedIn Ads data, compares every number with the Kiin Labs panel (1,000+ advertiser accounts, $65M+ of spend) and only changes a campaign after you confirm a preview. The full tool list is on Kiin Intelligence.

Can Grok connect to LinkedIn?

Yes. xAI's docs say custom connectors are available to all Grok users: you add any public remote MCP server on grok.com, and Grok discovers its tools. Kiin's founder has confirmed Kiin works in Grok. Developers can also attach Kiin to the xAI API as a remote MCP tool.

How to connect LinkedIn Ads to Grok

Go to grok.com/connectors, click New Connector, choose Custom, paste https://mcp.kiin.co/mcp and complete the Kiin sign-in. Grok then lists Kiin's tools and you can ask about your LinkedIn Ads in any chat. On Business and Enterprise plans an admin provisions the connector first.

  1. Sign up for Kiin with LinkedIn and connect your ad account.
  2. Open grok.com/connectors → New Connector → Custom.
  3. Paste https://mcp.kiin.co/mcp and complete the sign-in Grok asks for, using your Kiin (LinkedIn) login.
  4. In a new chat ask “What did we spend on LinkedIn last month?”

Plans: “available to all Grok users”, per xAI; Business and Enterprise need an admin to provision it in the cloud console. xAI's page does not detail the sign-in method or transports for custom connectors. Source: xAI docs, Grok connectors (checked 26 Oct 2026).

How to use Kiin with the xAI API (remote MCP tools)

The xAI API accepts a remote MCP server as a tool: pass server_url and server_label, and a bearer token in authorization. It supports streamable HTTP and SSE. Kiin signs users in with OAuth, so this route suits developers who can supply a Kiin access token; talk to us first.

import os
from xai_sdk import Client
from xai_sdk.chat import user
from xai_sdk.tools import mcp

client = Client(api_key=os.getenv("XAI_API_KEY"))
chat = client.chat.create(
    model="grok-4.7",
    tools=[
        mcp(
            server_url="https://mcp.kiin.co/mcp",
            server_label="kiin",
            authorization=os.getenv("KIIN_ACCESS_TOKEN"),
        ),
    ],
)
chat.append(user("What did we spend on LinkedIn Ads last month?"))
print(chat.sample().content)

Or in the OpenAI-compatible Responses API, add this to the tools array:

{
  "type": "mcp",
  "server_url": "https://mcp.kiin.co/mcp",
  "server_label": "kiin",
  "authorization": "<access token>"
}

xAI's docs list server_url and server_label as required, and authorization as the token set in the Authorization header; require_approval is not supported, so Kiin's own preview-then-confirm is the safety step. The authorization line and the Kiin URL are our adaptation of xAI's example, which uses a public server with no auth; the model name is the one xAI's example used on 26 Oct 2026. Source: xAI docs, remote MCP tools.

First prompts to try in Grok

Name Kiin in the prompt the first few times, so Grok uses the connector rather than web search.

  • “Using Kiin, what did we spend on LinkedIn last month?”
  • “Using Kiin, which companies engaged with our ads three or more times this month?”
  • “Using Kiin, how does our cost per lead compare with similar advertisers?”
  • “Run a Kiin audit and list the top three fixes. Do not apply them.”

If it does not work in Grok

Most Grok problems are plan permissions or the API route.

  • There is no Custom option. On Business and Enterprise plans an admin has to provision the connector in the cloud console first.
  • Grok answers from the web instead. Say "using Kiin" in the prompt, or check the connector is switched on for that chat.
  • The xAI API returns an auth error. The API needs a Kiin access token in authorization, and Kiin signs people in with OAuth. Talk to us about API tokens.
  • You want approval steps in the API. require_approval is not supported, so rely on Kiin's preview-then-confirm: the first write call changes nothing.

Other assistants

Setup guides for Claude · ChatGPT · Claude Duet · Microsoft Copilot · Cursor and Claude Code · Gemini · OpenAI dots · Perplexity. Every client and the full comparison: LinkedIn Ads MCP server.

Stuck, or setting this up for a team? Book a call →

Frequently Asked Questions

Can Grok connect to LinkedIn?+
Yes. Grok's custom connectors accept any public remote MCP server. Add Kiin at grok.com/connectors, New Connector, Custom, with https://mcp.kiin.co/mcp, to give Grok your LinkedIn Ads.
How do I add a custom connector in Grok?+
Open grok.com/connectors, click New Connector, choose Custom, enter the MCP server URL and complete any sign-in. Grok then discovers the server's tools.
Which Grok plans support custom connectors?+
xAI says they are available to all Grok users. On Business and Enterprise plans an admin must provision the connector in the cloud console first.
Can I use Kiin with the xAI API?+
Yes, as a remote MCP tool with server_url https://mcp.kiin.co/mcp and server_label kiin. You pass a bearer token in authorization, and Kiin uses OAuth, so contact us about access tokens for API use.
Can Grok change my LinkedIn campaigns?+
With Kiin, yes. Writes are preview-then-confirm: Kiin's first call shows a before/after diff and changes nothing until you confirm.
Does Grok have its own LinkedIn integration?+
We found no LinkedIn-built connector for Grok as of 26 Oct 2026. LinkedIn Ads data reaches Grok through an MCP server such as Kiin.

Connect LinkedIn Ads to Grok

Free on one LinkedIn ad account with a 14-day Analyst trial, no card. Kiin Analyst is $65 per ad account per month.

Connect LinkedIn Ads to Grok free →