- Bolt.new: An AI-assisted development platform by StackBlitz that enables instant scaffolding of fullstack web apps using natural language prompts. It supports both frontend and backend logic, with built-in support for React, Node.js, Express, Supabase Edge Functions, and more.
- Netlify: A platform for deploying static and frontend projects directly from Bolt.new, providing a public URL for production-ready hosting.
- Dappier: A platform that connects LLMs and agentic AI applications to real-time, rights-cleared data from trusted sources. Dappier delivers enriched, prompt-ready data across domains like health, wellness, and nutrition—making it ideal for interactive applications.
- Real-Time Health Supplement App: A frontend application where users can ask supplement-related questions (e.g., “What are the benefits of ashwagandha?” or “Is magnesium good for sleep?”) and receive real-time answers from a custom AI agent embedded using Dappier’s AskAI widget.
⚡ Quickstart: Enable a Smart AskAI Agent
Want to add a conversational AI assistant to your bolt.new app? This setup gives you a modal-style AskAI widget powered by Dappier, docked in the bottom-right corner of your screen. It responds to user questions using real-time data—perfect for search, support, and intelligent content discovery. Copy and paste the following into your project to get started:✅ Drop it into your Bolt app to activate a fully working, real-time AskAI assistant with no backend setup required.
Watch the Video Guide
If you prefer a visual walkthrough, check out the accompanying video guide below:🚀 Live Demo
Experience a real, working Dappier Custom Agent:- 🌐 Live Website: https://golden-shortbread-a5bfae.netlify.app
- 🧩 Source Code: https://bolt.new/~/sb1-fv56ycty
🧾 Step 1: Create the Health Supplement Website on Bolt.new
To begin, you’ll use Bolt.new to generate a fully responsive, modern frontend for your health supplement website — no local setup required.📋 Prompt to Use on Bolt.new
- Open https://bolt.new in your browser.
- Paste the following prompt into the Bolt.new interface:
- Click Submit and let Bolt.new scaffold your frontend site.
🚀 Step 2: Deploy the Site to Netlify Using Bolt.new
Now that your health supplement site (e.g., NutriWise) is ready on Bolt.new, you can deploy it to the web with just a few clicks — no manual Git setup required. Follow these steps to go live:📤 One-Click Deployment from Bolt.new
- In your Bolt.new workspace, click the Deploy button in the top-right corner.
- Choose Netlify as your deployment platform.
- If this is your first time, Bolt will prompt you to authenticate with your Netlify account.
- Select a team (or personal workspace) and confirm deployment.
- Claim your app on Netlify – click this to take ownership of the project inside your Netlify dashboard
- Customize domain – set a custom domain (like
nutriwise.ai) if desired
🧠 Step 3: Create Your Health Supplement AI Agent on Dappier
With your website now live (e.g.,https://nutriwise.netlify.app), it’s time to create a Dappier Custom Agent that can provide intelligent, real-time supplement guidance based on trusted sources.
Follow the steps below to set up your AI assistant and connect it to your site:
✅ Visit the Dappier Agent Builder
Go to: https://platform.dappier.com/my-ai Log in or sign up using your email or Google account.🧾 Define Your Agent
Fill out the following fields in the Agent Setup Form:| Field | Value Example |
|---|---|
| Name | NutriWise Assistant |
| Description | Real-time advisor for health supplements and wellness |
| Persona & Rules | Friendly, trustworthy, focused only on health content |
🔗 Add Real-Time Data Sources
Provide one or more trusted sources for the agent to crawl and index. For example:https://www.healthline.com/nutritionhttps://www.eatthis.com/supplementshttps://examine.com/supplements/- Your own live site:
https://nutriwise.netlify.app
- Website URLs for live crawling
- RSS feeds for health blogs
- PDF uploads if you have whitepapers or product catalogs
🎨 Customize the Widget
Choose how your widget should look and behave:| Option | Example Configuration |
|---|---|
| Colors & Branding | Green palette with soft shadows, clean sans-serif font |
| Prompt Suggestions | “What are the benefits of omega-3?”, “Best supplements for sleep” |
| Chat Mode | Enabled — so users can type any question |
| Preloaded Queries | Optional: preload a search on page load |
| Powered by Dappier | Toggle ON or OFF depending on your branding preference |
- A hosted URL for standalone access (e.g.,
https://nutriwise.web.dappier.com) - A script + widget tag to embed in your site
🧩 Step 4: Embed the Dappier AI Widget into Your Website
Now that your NutriWise AI agent is live and ready, it’s time to integrate it into your website so users can interact with it directly from the homepage. This step will show you how to embed the Dappier AskAI widget using two quick edits in your Bolt.new project: one in the HTML file and one in the page content.🛠️ Part 1: Add the Script Tag in index.html
- In your Bolt.new editor, open the
public/index.htmlfile. - Just after the opening
<body>tag, paste the following line:
🧾 Part 2: Add the Widget Component on the Page
- Open your main React page file (typically
App.jsxor the main homepage component). - Scroll to the section where you want the AI to appear — usually just below your hero banner or in a dedicated section.
- Paste the widget tag:
🔁 Replace wd_abc123xyz with the actual Widget ID provided in your Dappier agent dashboard.
✅ Result
Once this is added and saved, your deployed site (e.g.,https://nutriwise.netlify.app/) will now show a live, interactive AI health supplement advisor. Visitors can ask questions like:
- “What are the side effects of creatine?”
- “Which supplements help reduce stress?”
- “Is magnesium good for sleep?”
💰 Step 5: Monetize Your Health AI Agent with CPM
Once your NutriWise AI Agent is live and embedded in your website, you can turn it into a revenue-generating asset by enabling monetization features directly from the Dappier dashboard. Dappier allows you to set a CPM (Cost Per 1000 queries), show native ads, or submit your agent to the Dappier Marketplace — perfect for health bloggers, affiliate sites, or wellness creators looking to earn from traffic.🔐 Enable Monetization in the Dappier Agent Dashboard
- Visit https://platform.dappier.com/my-ai and open your NutriWise Agent.
- Navigate to the Monetization tab.
- Configure the following settings:
| Option | Example Setting |
|---|---|
| CPM Rate | 5 (i.e., $5 per 1000 queries) |
| Marketplace Listing | ✅ Enable (makes your agent publicly listed) |
| Native Ads / Content Recommendations | ✅ Enable (optional) |
💡 For example, a CPM of$5means you earn$0.005per query if the agent is used 1000 times.
📈 Who Can Use Your Monetized Agent?
Once monetized and listed on the Dappier Marketplace:- Other developers can license your agent to embed in their own projects.
- You’ll earn revenue based on CPM pricing.
- Dappier handles tracking, payments, and usage analytics.
💡 Pro Tip: Increase Traffic = Increase Earnings
You can maximize your monetization potential by:- Embedding the agent in high-traffic blog posts
- Promoting your NutriWise site on social platforms
- Publishing useful prompt suggestions to drive engagement
🌟 Highlights
This cookbook demonstrated how to build a real-time health supplement advisor by combining Bolt.new, Netlify, and Dappier. It provides a fast, browser-based setup that showcases a practical application of AI-generated fullstack apps powered by real-time health and nutrition data. Key tools utilized in this cookbook include:- Bolt.new: An AI-assisted development platform that allows developers to create, edit, and deploy fullstack applications directly from the browser with natural language prompts. It supports frameworks like React, Node.js, Express, and Supabase Edge Functions.
- Netlify: A developer-friendly platform used here to deploy the frontend site created with Bolt.new, providing a public URL to embed the Dappier agent.
- Dappier: A platform connecting LLMs and agentic AI applications to real-time, rights-cleared data from trusted sources, including health, wellness, and nutrition content. It delivers enriched, prompt-ready data ideal for intelligent applications.
- Real-Time Health Supplement App: A frontend application that allows users to ask health supplement questions and receive real-time responses from a custom embedded Dappier AI agent, rendered directly on the page using a JavaScript widget.

