Home
/
Research
/
How to Connect Grok to Portfolio Lab
Guide

How to Connect Grok to Portfolio Lab

Let Grok trade your investment strategies. Connect it to Portfolio Lab in about two minutes, no code.

The Portfolio Lab Research Team

Updated 

July 17, 2026

contents

This guide shows you how to connect Grok to Portfolio Lab so it can trade your investment strategies. You add Portfolio Lab as a custom connector in Grok, which takes about two minutes and needs no code.

Before you start

You need three things:

  1. A paid Grok account. Custom connectors are not available on free Grok.
  2. Your Portfolio Lab feed link, which you copy from the agentic trading page in the app.
  3. A strategy set up in Portfolio Lab with a paper portfolio running.

Connect Portfolio Lab to Grok

  1. Go to grok.com/connectors, click New Connector, then select Custom. Depending on your build, this may read Add custom connector or Your own MCP server.
  2. Enter the name Portfolio Lab, paste your feed link as the MCP server URL, leave authentication set to None, and confirm the risk acknowledgement.
  3. Start a new chat, open the tools or connectors menu in the composer, and toggle Portfolio Lab on.

Once you're connected

Grok can now read your target weights, but it still needs to know what to do with them. Open the prompt builder in Portfolio Lab to generate a ready-to-use prompt, paste it into Grok, and Grok can start trading your investment strategies.

Frequently asked questions

Which Grok plans support custom connectors?

Custom connectors are available on paid Grok accounts. They are not available on the free tier.

Do I need to turn it on in every chat?

You enable Portfolio Lab from the tools menu in the chat composer. If Grok is not using it, check that it is toggled on for your current chat.

Can Grok place trades on its own?

Portfolio Lab's feed is read-only and only provides your target weights. It never places trades. Whether and how your agent places trades depends on the trading tools you connect and your agent's own permission settings, which you control.

Does this work on mobile?

Yes. Grok connectors work on Grok for web, iOS, and Android. Once you add Portfolio Lab it follows your account across all of them.

Is it safe to connect Grok to Portfolio Lab?

Yes. Portfolio Lab only shares a read-only list of your target weights. It never sees your brokerage account, never sees your balances, and never moves your money or places trades. The only thing that can act on your account is the separate trading tool you set up, which stays under your control.

Safety and control

The feed is read-only. Portfolio Lab sends target weights and nothing else. It cannot see your account, move money, or place trades. Your agent and the trading tools you connect handle execution, and you control their permissions.

Disclosures

Grok is a trademark of xAI. Portfolio Lab is not affiliated with, endorsed by, or sponsored by xAI.

References

Put the research to work.

Build, test, and deploy your own strategies in Portfolio Lab. Free to start.

Start free

Educational & Research Disclosure: The content provided is for informational and educational purposes only and is not intended to constitute investment advice, a recommendation, solicitation, or offer to buy or sell any security. Any discussion of market trends, historical performance, academic research, models, examples, or illustrations is presented solely to explain general financial concepts and does not represent a prediction, guarantee, or assurance of future results. Past performance is not indicative of future results. All investing involves risk, including the possible loss of principal.

Related posts

Guide

How to Connect Gemini to Portfolio Lab

Guide

How to Connect Perplexity to Portfolio Lab

Guide

How to Connect Grok to Portfolio Lab