> ## 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

> Set up Deepline inside the Grok Bot environment.

[Agent guide: CLI and SDK instructions →](/docs/grok-bot)

## 1. Have your context ready

Use a Bot session with terminal access and a working folder you can keep for later requests.

## 2. Ask your agent

Paste this into your agent, then provide your task and example inputs when it asks:

```deepline-prompt theme={null}
/deepline-gtm Install Deepline in this Bot environment by following https://code.deepline.com/INSTALL.md. Use the installation method supported here. Tell me when browser authorization needs my input. Verify that Deepline is usable from this session’s working folder and report the selected workspace. Do not execute a provider lookup yet.
```

Complete any requested sign-in yourself. Give the agent the missing information before approving execution. Provider-backed work can incur usage.

## 3. Review the result

The Bot itself can access the intended workspace. A browser session elsewhere is not evidence that its execution environment is authorized.

Ask your agent:

```deepline-prompt theme={null}
/deepline-gtm Compare the result with the acceptance rule we agreed. Show the evidence for accepted and rejected outcomes, unresolved questions, and recorded Deepline usage where work ran. If work is still running or a response is uncertain, inspect the original saved execution before proposing another request. Explain the next decision I need to make.
```

Approve a larger job, recurring work, or external changes only after reviewing that decision.

## Check your understanding

Your browser is signed in, but the Bot reports no workspace access. Is the Bot ready?

> **Show the answer**
>
> No. Ask the Bot to complete authorization in its own environment and verify
> the workspace there.

## Related guides

* [Batch CSV enrichment](/docs/human/sdk-v2/batch-csv)


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