How to embed on rainbowmedicine.com.au
Drop these two lines into the site template (just before </body>):
<link rel="stylesheet" href="https://rainbowmedicine.com.au/chatbot/widget/chatbot-widget.css">
<script src="https://rainbowmedicine.com.au/chatbot/widget/chatbot-embed.js"
data-api="https://rainbowmedicine.com.au/chatbot/api"
data-language="en"
data-title="Rainbow Medicine"
data-subtitle="Wellness assistant"
defer></script>
Programmatic control
RainbowChatbot.open(); // open widget
RainbowChatbot.send('Tell me about cupping');
RainbowChatbot.close();
Brand swatches
Primary teal #0F5C6E
Mid teal #1A8C9F
Accent #D4853E
Light wash #EAF6F8
Try these prompts
- What is acupuncture good for?
- How does a first consultation work?
- Do you treat fertility issues?
- What's cupping like?
- Do you accept HICAPS?
Note: This demo points at
../api by default. To make it work end-to-end you need
PHP + MySQL running locally, and a valid Anthropic API key configured in
chatbot/api/config.php. See chatbot/README.md.