---
title: "Prompt mode"
description: "An alternative to wiring the Quickstart by hand. Paste one prompt into a coding agent and it builds the same redirect flow in one shot."
source: "/docs/prompt-mode"
updated: "2026-09-24"
---

# Build it with a coding agent.

An alternative to wiring the Quickstart by hand. Paste one prompt into a coding agent and it builds the same redirect flow in one shot.

## The prompt

Your Helix dashboard serves this prompt with your Space ID already filled in, under Integration Guide -> Prompt Mode at `capsule.helix.id/dashboard/spaces/<space-id>/integration`. Copy it from there rather than retyping the placeholder below.

```text
Use https://helix.id/docs.md as reference.
Add @helix-id/node to my app with voice authentication.
Space ID: <your-space-id>.

Create a /helix/start endpoint that generates a redirect URL
and a /helix/callback endpoint that verifies the HMAC-signed callback.
Use the shared secret from the HELIX_SECRET environment variable -
createAuthUrl is async and takes it as the secret option to sign the URL.

Add a frontend button that starts the voice auth flow via redirect.
```

## What the agent will build

| Endpoint              | Purpose                                                              |
| --------------------- | -------------------------------------------------------------------- |
| `GET /helix/start`    | Generates a redirect URL and stores the nonce in the user's session. |
| `GET /helix/callback` | Verifies the HMAC-signed callback and redirects the user onward.     |
| Frontend button       | Triggers the voice auth flow via a full-page redirect.               |

> **WARN - Important**
>
> Never paste your shared secret into an agent prompt. The prompt above deliberately refers to `HELIX_SECRET` by name -
> set it in the environment yourself, and keep it out of anything the agent reads or writes.


## Sitemap

See the full [sitemap](https://helix.id/sitemap.md) for all pages.
