AIYourSiteWithAI.dev

By creating an account you agree to our Terms, Privacy Policy and Refund Policy.

Reset your password

Enter your account email and we'll send you a link to choose a new password.

Choose a new password

This signs you out on your other devices.

← Back to website

AIYourSiteWithAI.dev

Overview

Usage across all your API keys for the last 7 days.

Checking model…
Requests–
Tokens used–
Avg. response–
Active keys–

Requests per day

Chat messages answered by your assistants.

Recent activity

The latest requests made with your keys.

KeyTimeTokensLatencyStatus

API keys

Create one key per website. Keep keys secret — they belong in your server, not your HTML.

Create a new key

Give it a name you'll recognise, like the website it's for.

✓ Key created. Copy it now and paste it into your server.js.

Your keys

NameKeyStatusLast used

Chatbot settings

Customise what visitors see when they click the chat circle. Changes go live instantly.

Create an API key first, then customise its chatbot here.

Editing key:
✓ Saved
Live preview · try it
AI AssistantOnline · replies instantly

Billing

Your plan, usage this month and payments. Pay with PayPal or card through Ko-fi.

CURRENT PLAN

–

Messages this month–
Website keys–

Complete your payment

Your plan activates automatically as soon as Ko-fi tells us you've paid. Keep this page open.

  1. Copy your reference code
  2. Pay on Ko-fi

    Enter as the amount and paste the reference code into the message box. Tick "Make this monthly" to renew automatically. You can pay with PayPal or a card.

    Pay on Ko-fi ↗
  3. Done

    Come back here. Paying with the same email as this account () also matches your payment if you forget the code.

Waiting for your payment…
✓ Payment received. Your plan is now active.

Payment history

DatePlanAmountReferenceStatus

Install & docs

Add the AI chat circle to your website in a few minutes.

⬇ Download starter kit

Quick start

The starter kit contains index.html, server.js and readme.txt.

  1. Download & unzip the starter kit

    You'll need Node.js 18 or newer installed. No npm packages are required.

  2. Add your API key

    Open server.js and paste your key, or set it as an environment variable:

    YSWAI_API_KEY=ysw_sk_your_key_here node server.js
  3. Start your server

    Run the command below in the starter-kit folder, then open http://localhost:3000.

    node server.js
  4. Customise (optional)

    Change the greeting in Chatbot settings, or override it directly in index.html:

    window.YSWAI_WIDGET = {
      endpoint: "/api/chat",
      configEndpoint: "/api/widget-config",
      greeting: "Welcome to Rosie's Bakery! What can I get you?",  // overrides dashboard
      botName: "Rosie",
      accent: "#16a34a"
    };

REST API reference

Authenticate every request with Authorization: Bearer <your key>. Base URL:

POST
/v1/chat
Send the conversation, get the assistant's reply from llama3.2.
// Request body
{ "messages": [ { "role": "user", "content": "Do you deliver on Sundays?" } ],
  "greeting": "optional – the first message shown to the visitor" }

// Response
{ "reply": "Yes! We deliver every day from 9am to 6pm.", "model": "llama3.2", "tokens": 182 }
GET
/v1/config
Returns the bot name and greeting you set in the dashboard.
{ "bot_name": "Rosie", "greeting": "Hi! 👋 How can I help?", "model": "llama3.2" }