How to create a product tour with ChatGPT Codex without a developer
A guided walkthrough with ChatGPT Codex in about twenty minutes: install one line, click through your own interface in the visual editor, and publish a tour that starts where new users need it.
- Time
- ● 20 minutes
- Price
- Free plan
- Who does it
- You and Codex
Example: a product tour with ChatGPT Codex
A project-management board whose repository is maintained with ChatGPT Codex. On /board a 4-step tour shows columns, dragging a card, assignees and due dates.
Free on the Clew Free plan — no card, no time limit: one site and up to 3 published tours or tooltips. Audience rules and A/B tests come with Pro.
How to build the product tour with ChatGPT Codex, step by step
- Step 01
Copy your Clew snippet
Create a free account (or sign in), add your site and open Admin → Overview. Click the line in the “No signal from the widget yet.” card to copy it — it carries your real site key instead of the placeholder.
<!-- Clew: replace PASTE_YOUR_SITE_KEY with the site key from Admin > Overview --> <script src="https://tryclew.io/widget/PASTE_YOUR_SITE_KEY.js" async></script>

Step 1 · schematic illustration - Step 02
Connect the repository to Codex
In ChatGPT open Codex and connect the GitHub repository of your app (or run the Codex CLI in the project folder). A regular ChatGPT chat or canvas only shows code — it doesn’t change your repository.

Step 2 · schematic illustration - Step 03
Start a task with the prompt
Replace
PASTE_YOUR_SITE_KEYwith your key and start a Codex task with the prompt below.Add the Clew onboarding widget to this app. Insert this exact tag once so it loads on every page, including after client-side route changes: <script src="https://tryclew.io/widget/PASTE_YOUR_SITE_KEY.js" async></script> Find the root HTML file or root layout of this repository (index.html for Vite, app/layout.tsx with next/script for Next.js App Router, nuxt.config.ts app.head.script for Nuxt, the base template for server-rendered apps) and add the tag there. Also add stable data-tour attributes to the elements a product tour will point at: the main navigation, the primary create/add button, the main filter or search, and the page heading — for example data-tour="create-button". Do not change their styles, text or behaviour. Rules: - Use the script URL exactly as given. Do not download it, bundle it or install an npm package. - If the project sets a Content-Security-Policy, allow https://tryclew.io in script-src and connect-src. - Change nothing else and show me the diff.

Step 3 · schematic illustration - Step 04
Review the pull request and merge
Codex returns the change as a diff you can open as a pull request. Check that it touches the root file and the small additions only, merge, and let your hosting deploy.

Step 4 · schematic illustration - Step 05
Build the tour on top of your page
In Clew open Flows → + New flow, keep Format at Step-by-step tooltips and press Edit on your site. On your page press Pick element and click the element for step 1, then write a title and one or two sentences. Repeat for 3–5 steps; the preview updates as you type.

Step 5 · schematic illustration - Step 06
Choose where, when and for whom it shows
In the same editor, set Where to show (page URL), When to show, Audience targeting and Frequency. These are the settings of the example above:
Setting Value Format Step-by-step tooltips Where to show (page URL) Section by prefix /boardWhen to show Right on page load Audience targeting No rules — everyone who opens the page Frequency Once per visitor 
Step 6 · schematic illustration - Step 07
Publish and check it on the live site
Set Status to Published and save. Open the page in a private window — Clew remembers who has already seen a “once” item, so your usual browser may skip it. Views, completions and drop-offs appear in the tour stats.

Step 7 · schematic illustration
Pitfalls: product tour with ChatGPT Codex
Nothing changes until the PR is merged
Codex works in a cloud copy of the repository. Until you merge and deploy, the product tour can’t appear on your site.
Canvas code is a draft
If you paste code from a ChatGPT chat by hand, you are the developer: check the file and the placement yourself, or use Codex so the change is reviewed as a diff.
Generated class names change on every rebuild
AI-built apps often use utility classes or hashed CSS modules. A selector like .bg-blue-600.px-4 breaks after the next prompt. That’s why the prompt above asks for data-tour attributes: pick those elements and the tour survives regenerations.
Questions and answers
Do I need a new Codex task for each tour change?
No. Codex adds the line and attributes once; tour changes are made in Clew.
Can I do it in the ChatGPT app without Codex?
Only if you paste the result into your code yourself. Codex is the part of ChatGPT that edits a real repository.
Is the product tour free?
Yes — tours are on the Free plan with up to 3 published. You only need Pro for audience rules, A/B tests and more tours.
Can’t I just ask the AI to build the tour?
You can, but then every text change is a new prompt, a new diff and a new deploy, and you get no stats. With Clew the AI adds one line and a few attributes once; the tour itself is edited in minutes by anyone on the team.
What else you can add with ChatGPT Codex
- How to set up user onboarding with ChatGPT Codex without a developer
- How to add a paywall upgrade prompt with ChatGPT Codex without a developer
Product tour on other platforms
- Google Tag ManagerHow to create a product tour via Google Tag Manager without a developer
- WordPressHow to create a product tour on WordPress without a developer
- LovableHow to create a product tour in a Lovable app without a developer
- Bolt.newHow to create a product tour in a Bolt.new app without a developer
- v0How to create a product tour in a v0 app without a developer
- ReplitHow to create a product tour in a Replit app without a developer
- CursorHow to create a product tour in an app built with Cursor without a developer
- Claude CodeHow to create a product tour with Claude Code without a developer
- Qwen CodeHow to create a product tour with Qwen Code without a developer