Build your first widget with AI
In this tutorial you'll build a widget by describing it in plain words, adjust it by chatting with the AI, and put it on your website. You don't need to write any code.
Before you start
- You need an Embeddable account. The free plan includes 25 messages a month, and each message you send to the AI counts toward that.
- Decide what you want your visitors to do. A calculator, a quiz, an email signup popup or a countdown timer are all good first widgets.
- Optional: have your website address ready so the AI can match your colours and fonts.
Describe what you want
- Log in and open Home in the left sidebar. You'll see the prompt box under the heading "What should your website do next?"
- Make sure the Add to my website tab is selected. This is the tab for widgets. Make a new page is for standalone landing pages.
- Type what you want in the prompt box.

What should I type in the prompt box?
Say what the widget is, who it's for, and what it should show or collect. Short and specific works best. For example:
- "Create a ROI calculator widget that helps businesses calculate potential savings from switching to our SaaS platform. Include input fields for current costs, team size and hours spent. Show monthly and yearly savings."
- "Build an email signup popup that offers a 15% discount code to first-time visitors. Include email validation and a clear headline about the discount."
- "Design a countdown timer widget for a limited-time sale ending in 48 hours. Show days, hours, minutes and seconds with a 'Sale Ends Soon' message."
Some tips:
- Name the fields, buttons or results you want to see.
- Mention your brand colours or tone if they matter.
- Don't try to say everything at once. You can add details in the next stage.
- Free accounts can send up to 2,000 characters per message. Paid plans allow more, up to 25,000.
If you'd like ideas first, click See templates below the prompt box.
Match your website (optional)
Add your website address as a website reference. The AI picks up your colours, fonts and style, so the widget looks like it belongs on your site.
When you're happy with your prompt, click Make it.
Checkpoint: You've sent your first message, and the AI has started building your widget.
Review and refine
-
Watch the AI build the widget. You'll see the preview appear as it works.
-
Check the preview. Try it as a visitor would: fill in the fields, click the buttons and read the text.
-
If something is off, reply in the chat with what you want changed. For example:
- "Make the button green and say 'Get my quote'."
- "Add a field for phone number."
- "Show the result as a chart instead of a number."
-
Repeat until the widget looks right.
Chat is the right tool for bigger changes like new fields, new logic or a different layout. For small changes, use the widget's own editor instead. You can change words, colours, layout and settings by hand, and edits made this way don't use AI messages.
Every edit is saved. If a change doesn't work out, you can open an older version and go back to it.
Checkpoint: Your widget looks and behaves the way you want in the preview.
Go live
-
Publish the widget so your latest version is live.
-
Get the embed code. It's a single line of code.
-
Paste that line into your website where you want the widget to appear. It works on WordPress, Shopify, Wix, Squarespace, Webflow, Elementor and other website builders.
-
Open your site and check that the widget appears and works.
You only need to paste the code once. After that, every change you publish shows up on your site automatically, so you don't need to paste anything again.
Checkpoint: Your widget is live on your website, and you can keep improving it from your dashboard whenever you like.
Did this answer your question?
Your feedback helps us improve.
