AI plugin for SilverStripe CMS

Best plugin for SilverStripe CMS: an AI chatbot

Asyntai adds an AI customer support chat to your SilverStripe website. You add one script to your theme template, and it answers visitors around the clock from your own pages. Start with 50 free AI replies per month.

  • One line in Page.ss
  • Answers from your content
  • No credit card required
yourcouncil.org/services
AI AssistantOnline
When is the garden waste collected?
Garden waste is collected every second Tuesday from March to November. The Bins and recycling page has the full calendar.
Can I order a new bin online?
Yes. Use the Request a bin form on the same page. Delivery is free for the first bin.
Type a message...

How the SilverStripe plugin goes live

SilverStripe renders every page from .ss templates. Put the script into your base Page.ss template and the chat shows on every page.

  • Get your code. Create a free account. Your dashboard shows the embed code with your own widget ID.
  • Open your template. For example themes/yourtheme/templates/Page.ss.
  • Paste the script. Put it just before the closing </body> tag and save the file.
  • Flush the cache. Add ?flush=1 to your site address. The chat button then shows in the bottom right corner.
themes/yourtheme/templates/Page.ss
    ...
    <script src="https://widget.asyntai.com/static/js/chat-widget.js" data-asyntai-id="your-site-id" async></script>
  </body>
</html>

Copy your own code from the dashboard. It contains your personal widget ID.

Other ways to add it on SilverStripe

Prefer to keep scripts in PHP, or does your theme use includes? Pick the method that fits your project.

A

Page­Controller

The Requirements class, the SilverStripe way to add scripts.
  1. Open app/src/PageController.php
  2. Add the code below to the init() method
  3. Save the file and flush the cache with ?flush=1
app/src/PageController.php
use SilverStripe\View\Requirements;

protected function init()
{
    parent::init();
    Requirements::customScript(<<<JS
        var s = document.createElement('script');
        s.src = 'https://widget.asyntai.com/static/js/chat-widget.js';
        s.setAttribute('data-asyntai-id', 'your-site-id');
        s.async = true;
        document.head.appendChild(s);
    JS);
}
B

Shared include

For themes with a footer in the Includes folder.

Many themes render the footer from an include, such as templates/Includes/Footer.ss. Paste the script at the end of that file. Every page that uses the include then loads the chat.

C

Some pages only

Show the chat on one page type.

Put the script into the template of one page type only, for example HomePage.ss. Or keep it in Page.ss and list the pages where the chat should be hidden in your Asyntai dashboard.

All methods and troubleshooting steps are in the SilverStripe installation guide.

From sign-up to the first answer

The script puts the chat on your pages. The dashboard tells it what to say.

  1. 01

    Create an account

    Sign up for free. You do not need a credit card.

  2. 02

    Add your site address

    Asyntai reads your SilverStripe pages. Add documents and Q&A pairs for extra details.

  3. 03

    Add the script

    Paste it into Page.ss and flush the cache with ?flush=1.

  4. 04

    Read the conversations

    See what visitors ask in your dashboard, and improve your content where answers are weak.

Why choose the Asyntai plugin for SilverStripe

An AI assistant that knows your SilverStripe site and follows your rules.

Answers from your content

It answers from your pages, documents and Q&A pairs, so visitors get facts about your organisation and not general replies.

Always on

Visitors get an answer at any time of day or night, also when your team is offline.

Multilingual replies

The AI replies in the language the visitor writes in. This suits SilverStripe sites with several locales.

No template change for updates

Update colors, position, greeting and behavior in the dashboard. Your Page.ss stays the same.

Focused on your topics

Write custom instructions for your tone of voice. The AI stays on your topics and declines unrelated questions.

Chat logs and analytics

Read every conversation in your dashboard. See which questions visitors ask most and which pages they come from.

Analytics on Starter and up

On the Standard and Pro plans you can also watch chats live and take over a conversation yourself. See all features

Start free on your SilverStripe site

Every Asyntai plan works on SilverStripe. Upgrade at any time as your site grows.

Free50AI replies per month · 1 website
Starter800AI replies per month · 2 websites
Standard15,000AI replies per month · 3 websites
Pro50,000AI replies per month · 20 websites

Pro also removes the Asyntai branding. Enterprise plans are sized to your needs. See all plans and prices

Questions about the SilverStripe plugin

Need the full steps? Read the SilverStripe installation guide or email [email protected]. Also see the AI chatbot for SilverStripe page.

How do I add the plugin to my SilverStripe website?

Create a free account and copy your embed code from the dashboard. Open your theme's main template, for example themes/yourtheme/templates/Page.ss, and paste the code just before the closing body tag. Save the file and flush the cache by adding ?flush=1 to your site address.

Is there a SilverStripe module to install?

You do not need one. The chatbot is one script tag in your theme template or in your PageController. You do not install a Composer package and you do not change your database.

Which SilverStripe versions does it work with?

The script runs in the visitor's browser, so it works with any SilverStripe version that renders HTML pages from .ss templates.

How does the plugin learn about my SilverStripe business?

You give it the address of your live site and it reads your pages. You can also upload PDF or text documents, write custom instructions and add your own questions and answers. The AI answers from this content.

Will the plugin slow down my SilverStripe site?

The chat script loads asynchronously, so your SilverStripe page does not wait for it while it loads.

What happens when I reach my monthly limit?

We send you an email as you get close to your monthly AI reply limit. You can upgrade at any time from the dashboard, and the count starts again each month.

Can I use the plugin on more than one SilverStripe website?

Yes. Free includes 1 website, Starter 2 websites, Standard 3 websites and Pro 20 websites. See the pricing page for details.

Do I need coding knowledge to use the plugin on SilverStripe?

You need access to your theme files. Adding the script is one line in one template file. If a developer looks after your site, send them the code from your dashboard.

Ready to install the best SilverStripe plugin?

Start free with 50 AI replies per month. No credit card required.