Skip to main content
Your coding agent can do the whole install for you. Paste the prompt below into Claude Code, Cursor, Codex or any agent that can edit your repository and run your app. It finds your framework, adds Puntego once in the root layout, updates your Content Security Policy if you have one, then runs the app and checks that the launcher appears.
1

Copy your app ID

Open Dashboard → Install and copy the test snippet’s app ID (it starts with gp_test_). The test key boots on any page, http://localhost:3000 included, with no domain to verify, so the agent can see the guide on your dev server. Swap in your production gp_ app ID when you ship on a verified domain.
2

Paste the prompt into your agent

Replace gp_your_app_id on the first line with the ID you copied, then paste the whole prompt. The app ID is public, so it is safe in client code; the install needs no API key.
3

Review the diff

The agent should change one root layout or entry file, and your CSP if you have one. Read the change before you commit it.

The prompt

Single-page apps need nothing extra: the guide notices client-side route changes on its own. To scope the guide to some routes, change the launcher, or turn on proactive behavior, see the script attributes after the install works.

Prefer a printed plan

Once the @puntego/* packages are on npm (npm view @puntego/cli version prints a version), the CLI prints the same install for your project without changing a file or making a network request:
It names the framework, the root file, the package command for your package manager, the snippet, the CSP entries to merge and the checks to run. Add --script for the script tag, or --json to hand the plan to your agent. After the change, npx @puntego/cli doctor checks the install. See Validate an integration locally.

Use it as a skill

If you install Puntego in more than one app, save the same instructions as a Claude Code skill so you can run it by name. Create .claude/skills/puntego-install/SKILL.md in your project (or in ~/.claude/skills/ to use it everywhere) with this content:
Then ask Claude Code to “install Puntego” in that project.

After the agent finishes

Verify your domain

Go live: the production gp_ app ID only boots on verified HTTPS domains.

Full install reference

Every script attribute, route rule, and the install diagnostics.

Framework guides

Declared targets, signed-in identity, and SPA details per framework.

Strict CSP

The full policy, including Verified Actions and voice.