> ## 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 a Grok Bot execution environment and verify its authorization.

[Human guide: work with your agent →](https://deepline.com/docs/human/grok-bot.md)

Set up Deepline in the Bot's execution environment, then verify its effective
workspace. A working browser session on your laptop does not prove that the
Bot's terminal has Deepline authorization.

## Before you start

Open a Bot conversation with terminal access and an appropriate working folder.
Use the same folder for setup and later requests.
See [Grok Bot's architecture](https://docs.x.ai/grok-bot/overview) for its computer
model and [skills](https://docs.x.ai/grok-bot/skills-routines-and-automations)
for saving a proven process.

## 1. Ask the Bot to install Deepline

```text theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
Install and set up the official Deepline CLI globally from npm (package: deepline) by following https://code.deepline.com/INSTALL.md.
Use this Bot's working folder for authorization.
Report the effective workspace before executing provider requests.
```

The installation guide chooses the supported global or project-local path.
Do not force a global installation when the environment cannot support one.

## 2. Verify the environment

Complete the requested browser authorization. Ask the Bot to run:

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline --version
deepline auth status --json
```

> [!TIP]
>
> The CLI runs in the Bot's environment and identifies the intended workspace.
> Preserve the working folder for later requests.

If setup fails, use `deepline doctor --json`. Follow the returned next action.
A pending authorization is not a reason to start several setup flows.

## 3. Review one request before repeating it

This starter can execute provider work and incur usage:

```text theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
/deepline-gtm Find 3 AI companies funded in the last 30 days, with founder contacts and verified work emails.
```

Review identity, source evidence, unresolved rows, and actual usage.
Save the run ID before expanding the request.

Save a repeatable skill only after its pilot meets the acceptance rule.
Ask the Bot to explain a failed check before changing the method.
For file-based work, use [Batch CSV enrichment](https://deepline.com/docs/sdk-v2/batch-csv.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.