← Files Dataiku HeadlessARCHIVED FILE

docs/getting-started/grok-cli.md

1.6 KB · Nov 27, 2026 · 19:32 UTC

↓ Download file

See the change to this file →

# Grok CLI

This guide covers installing Dataiku Headless in Grok CLI and connecting it to
Dataiku.

## Before you start

Have your Dataiku instance URL and personal API key ready. Do not paste the key
into the conversation. Dataiku Headless also needs network access to the instance
and [uv 0.12.0 or later](https://docs.astral.sh/uv/getting-started/installation/).
The setup flow checks for uv and, with your approval, can install it.

## Install

Run:

```bash
grok plugin install dataiku/dataiku-headless --trust
```

## Connect to Dataiku

Start a Grok CLI session and ask **Set up Dataiku Headless**. Approve the MCP
server URL prompt if Grok asks.

In the setup page, add an instance with a name, instance type, Dataiku URL, and personal
API key. Select the type that matches your node (Design, Automation, or Deployer). Find
your key in Dataiku under Profile & Settings → API keys. Keep the key in the setup page;
do not paste it into chat. Test the connection, save the instance, and select **Done**.
The profile stores credentials locally in plaintext with user-only file permissions. The
checkboxes to use the instance by default and switch to it after saving are selected by
default.

![Add a Dataiku instance, test the connection, and save it](../assets/installation/dataiku-instance-form.png)

Ask Grok to verify the connection or show the projects you can access. Building
or changing project logic requires a Design node with Cobuild available.

For multiple instances, certificate trust, or environment configuration, see
[Connecting to Dataiku](../connecting-to-dataiku.md).

[Back to the README](../../README.md)

SHA-256: 1e6505cd8167f51c71a737fef3409d4669a3e32b7c2aaa487cc97fc3bf2dcbc1