> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stockinsights.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# ChatGPT and Codex Setup

> Install a stockinsights.ai plugin in ChatGPT or Codex and connect it to Indian or US market data.

Install a **stockinsights.ai** plugin to research public companies in ChatGPT or Codex. Choose **stockinsights-in** for Indian listed companies or **stockinsights-us** for US listed companies.

***

## Step-by-step installation

Watch the setup walkthrough, or follow the steps below.

<iframe className="w-full aspect-video rounded-xl" src="https://www.youtube.com/embed/7YQLmAqhS_g" title="Install a stockinsights.ai plugin in ChatGPT or Codex" frameBorder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen />

<Steps>
  <Step title="Add the marketplace">
    1. Click **Plugins** in the left sidebar.
    2. Open the **Add** dropdown in the upper-right corner and select **Add a marketplace**.
    3. Enter the repository URL and click **Add**:

       ```text theme={null}
       stockinsights-ai/plugins
       ```
  </Step>

  <Step title="Choose a plugin">
    1. Once the marketplace is added, click the **Personal** tab and scroll to the stockinsights.ai plugins.
    2. Select **stockinsights-in** for India or **stockinsights-us** for the US.
    3. On the plugin details screen, click **Install Plugin**.
  </Step>

  <Step title="Authorize the connection">
    1. In the browser window that opens, sign in to stockinsights.ai if prompted.
    2. Authorize the MCP client. Wait for the **Successfully authorised** screen.
  </Step>

  <Step title="Try a research question">
    1. Return to ChatGPT or Codex and confirm the plugin is installed.
    2. Start a new question. Type `/stock-research` to select the stockinsights research skill, then ask about a company in your chosen market.
  </Step>
</Steps>

For example, ask: “What did management say about growth in the latest earnings call?” Include the company name so the plugin can find the relevant filings.
