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

# Grok Bot

> Install Deepline in Grok Bot, authorize one workspace, and run a first GTM request.

Use Grok Bot when you want to run Deepline from xAI's desktop assistant. Grok Bot can run Deepline using its computer access and skills. Set it up by asking the agent to follow the installation guide.

## Before you start

Make sure that:

* Grok Bot is installed and you are signed in.
* You can open an agent chat in Grok Bot.
* Grok Bot has computer access enabled if required for your workspace settings.

## Install Deepline

1. Open the Grok Bot app.

2. Open an existing agent chat, or create a new agent from the sidebar.

3. Paste this setup prompt into the chat and send:

   ```text theme={null}
   Set up the official Deepline CLI from https://code.deepline.com/INSTALL.md.
   ```

4. When the agent opens browser authorization, approve Deepline for the workspace you intend to use.

5. Wait for setup to finish before sending another Deepline request.

The agent installs the Deepline CLI and skills, opens browser authorization, and verifies the result.

<Check>
  After setup completes, the agent can run Deepline commands and use Deepline skills.
</Check>

## Run one small request

Start with this request:

```text theme={null}
/deepline-gtm Track competitors of my company. Use my business email domain when available; otherwise ask for my company name.
```

Grok Bot can open a browser authorization request. Approve the request for the workspace you intend to use, then rerun the prompt if Grok Bot finished before authorization completed.

<Check>
  A successful first run returns a small result set and its Deepline-credit usage. Review the fields and unresolved results before asking for more rows.
</Check>

## Troubleshoot

* **A live call fails:** confirm that computer access is enabled and that Grok Bot can reach the internet.
* **Authorization repeats:** make sure you approved Deepline for the intended workspace during setup.
* **CLI setup fails:** ask Grok Bot to run `deepline doctor --json` and follow the next action in its response. Do not start a second setup while authorization is pending.
* **Computer access is unavailable:** check Grok Bot settings for computer access permissions. Update the settings if needed, then retry setup.
* **Network or sandbox install issues:** if the global CLI install fails in Grok Bot's environment, the agent can use a project-local install instead. The canonical install guide handles this automatically.

<CardGroup cols={2}>
  <Card title="Install from Claude Cowork instead" icon="plug" href="/docs/claude-cowork">
    Use the Claude Cowork flow when you work in Claude Desktop rather than Grok Bot.
  </Card>

  <Card title="Install from Claude Code instead" icon="terminal" href="/docs/claude-plugins">
    Use the Claude Code marketplace flow when you work in Claude Code.
  </Card>

  <Card title="Use Deepline from coding agents" icon="code" href="/docs/sdk-v2/coding-agents">
    Install Deepline in other coding agents that support a shell.
  </Card>
</CardGroup>
