Skip to main content

Grok guide

Start a Grok task in chat

Connect Grok, start a new chat task, and review a small application change.

3 min readUpdated Start the guide

Use a newly created Grok task when you want the dashboard chat workflow. Older Grok tasks can retain their terminal interface, so start by checking the task's actual creation path rather than assuming every Grok task should look identical.

On this page

Requirements

Before you start

Make sure you have these in place before following the steps:

  • A ready workspace runtime and an app.
  • Owner access to configure the Grok connection, or a connection already prepared for your use.
  • Provider access accepted by the displayed Grok sign-in flow.
A new Grok task conversation in the Agent Dashboard.
A new Grok chat task with sample data. Older terminal sessions keep their existing interface. Open full-size screenshot
Step 1 of 6

Find Grok in Coding Agents

Open Settings, then Coding Agents. Enable Grok (xAI) if you own the workspace configuration. Check its current authentication state before starting another login. Use the account and method offered by the connection, not an unrelated API key pasted into a task.

Step 2 of 6

Finish the provider authorization

Choose Authenticate in Browser and follow the sign-in instructions. Complete a device code on the provider page if shown, or return an access code when requested. Keep the setup page open and wait for the connection status to update.

Step 3 of 6

Start a new task on the right app

Open Agents and choose + New task. Select the App and Grok, then a reported model or the available default. Select Create task. Creating a fresh task is important when you are testing chat behavior rather than resuming an older terminal task.

Step 4 of 6

Send a bounded request in chat

Choose a change with an obvious acceptance condition. Include a boundary against unrelated edits and request a report of the checks. Send the prompt only after confirming that you are in the intended task.

First Grok task
On the saved-search screen, make the empty-state text explain how to create a search.
Keep existing search routes, permissions, and data unchanged. Inspect the component first and change only the relevant text or directly related test.
Report what you checked. Do not submit or deploy.
Step 5 of 6

Read questions and command requests

When a question appears, answer the specific ambiguity before adding more scope. Read permission requests and allow only the work you intended. Permission modes may change the amount of prompting, but they do not replace your responsibility to review the result.

Step 6 of 6

Check the result in the application

Read Changes and inspect the appropriate Checks. For a runnable app, try the changed screen in Preview and ensure its existing action still works. Send a focused correction if needed. Keep the work unsubmitted until its behavior and scope are acceptable.

Check the result

  • A new Grok task opens in chat on the intended app.
  • You have answered any required question or permission request.
  • The bounded diff and relevant application behavior have been reviewed.

Troubleshooting

The Grok task opens in Terminal rather than chat.

Check whether it was created as a terminal task. Existing tasks keep that session. Use + New task for the current chat workflow instead of deleting useful work.

Sign-in completed but the agent cannot run.

Check authentication, runtime readiness, and provider access separately. Read the actual error; being signed in does not establish remaining quota or model access.

Availability and limits

  • Grok and Grok Build are separate products. A Grok connection in 1904 uses xAI Grok sign-in or an xAI API key and does not imply identical access to Grok Build products or accounts.
  • Older terminal tasks retain their original interface. Do not expect controls from another harness to appear automatically.

Related documentation

Start with an idea, or start with what you have.

Use AI supplied by 1904, or connect the subscription you already pay for.