Demo mode: changes are disabled.

Skip to content

Public Demo

Last updated

Show Deskply to prospects with shared logins: a separate installation in demo mode, with sample data and nothing that can be broken.

What it needs

ServiceNeededWithout it
OpenAI keyYesNobody can talk to the agent: the home page shows a scripted demo
Stripe, a test keyYesThe Buy buttons of the plans answer with an error
Email (SMTP)AdvisedA visitor who signs up gets no code and cannot go on
Google Gemini keyAdvisedKnowledge files are not processed
Meta, Twilio, Google CalendarNoConnecting a channel is disabled in a demo. The sample data shows the inbox and the calls

Only test keys of Stripe

Everybody knows the logins of a demo. Use a key that starts with sk_test_ or rk_test_, best of a Stripe sandbox of its own: the demo data makes plans and coupons in it. Visitors then pay with the test card 4242 4242 4242 4242.

Set it up

Use a server of its own, installed as in Install. Never switch demo mode on for your real SaaS: its logins are public. Keep this order: demo mode refuses changes to the settings, and the plans of the demo data get their Stripe prices only when the key is there.

  1. Save the settings in the admin panel

    • Settings → Payment methods: the Stripe test key, and the webhook with its signing secret. Without the webhook, a paid plan does not start.
    • Settings → AI & Voice: the OpenAI and Gemini keys.
    • Settings → Demo Chat: the sample business that visitors talk to on the home page and /landing (see Demo chat).
    • Settings → Integrations → Email (SMTP), then Send a test email.

    The nightly reset keeps what you save here.

  2. Switch on demo mode in the API

    backend/.env
    DEMO_MODE=true
    # Optional: load the demo data again every night at 04:00 UTC
    DEMO_RESET_DAILY=true
    DEMO_RESET_TIME=04:00
  3. Switch it on in the web app

    frontend/.env.local
    NEXT_PUBLIC_DEMO_MODE=true
    [email protected]
    NEXT_PUBLIC_DEMO_ADMIN_PASSWORD=Admin@123
    [email protected]
    NEXT_PUBLIC_DEMO_USER_PASSWORD=Demo@1234
    NEXT_PUBLIC_DOCS_ENABLED=true
    NEXT_PUBLIC_LANDING_ENABLED=true
    NEXT_PUBLIC_CODECANYON_URL=
    FRAME_ANCESTORS=https://preview.codecanyon.net https://codecanyon.net

    With the https address of your item page in NEXT_PUBLIC_CODECANYON_URL, /landing shows Buy buttons.

  4. Load the demo data and restart

    Terminal
    sudo bash server/artisan.sh app:demo-seed --fresh --force
    sudo bash server/restart.sh

    --fresh empties the database first, except the settings saved in the admin panel.

  5. Check it inside the preview frame

    Envato shows the demo inside its own page, which FRAME_ANCESTORS allows. Signing in there works in most browsers, but Safari and strict privacy settings block the cookies, and the live call needs the microphone, which a browser gives only outside the frame. So give reviewers and buyers the direct address as well.

What demo mode blocks

Visitors can open every screen, chat with the demo agent and book appointments. The API refuses, with status 403 and the code DEMO_MODE, anything that changes settings or accounts or reaches real people:

  • The AI, payment, integration, branding and privacy settings, credit packs and platforms.
  • The admin's and customers' login details, password resets and data exports.
  • Creating, changing, refunding or impersonating customers, and bank transfer decisions.
  • Marketing emails, booking links and replies sent from the inbox, escalations and appointments.
  • Connecting Meta, Google or Twilio accounts, a customer's own AI key, and every delete.

The full list is in config/demo.php of the API. The sample data is a fictional business with its customers, messages, appointments and payments; a real Deskply installation never loads it.