Back to No-Code Website Builders

Integrate AI chatbots with Publii

No-code static site CMS with custom HTML integration; user-friendly interface for non-developers.


Overview

Publii is a no-code static site CMS that empowers users to create ultra-fast websites effortlessly.

Unique Features:

  • User-Friendly Interface: Designed for both developers and non-developers.
  • Visual Editor: Allows easy content creation without coding.
  • SEO Optimization: Built-in tools to enhance website performance and search visibility.
  • Privacy Tools: Compliant with CCPA and GDPR, ensuring visitor privacy.
  • Custom HTML Integration: Users can inject custom HTML in designated areas for enhanced customization.

Add Custom HTML Documentation

Step-by-Step Guide to Integrate Custom HTML in Publii

  1. Access Your Theme Settings: Open your Publii application and navigate to the theme settings for your website.

  2. Identify Injection Points: Locate the following areas where you can inject custom HTML:

    • @headCustomCode: Add custom code at the end of the head section.
    • @bodyCustomCode: Insert custom code at the beginning of the body section (after the opening body tag).
    • @commentsCustomCode: Place custom code in the comments area (if enabled in site/post settings).
    • @footerCustomCode: Add custom code to the footer section (before the closing body tag).
    • @footerAmpCustomCode: For AMP templates, add custom code to the footer section (before closing body tag).
    • @headAmpCustomCode: For AMP templates, insert custom code at the end of the head section.
  3. Insert Your Custom HTML: In the appropriate section, paste your custom HTML code.

  4. Save Changes: After adding your code, ensure to save the changes in your theme settings.

  5. Preview Your Site: Finally, preview your website to confirm that the custom HTML has been integrated successfully and is functioning as expected.

Integration Guide

For more information on how to add custom HTML to your Publii website, please refer to the Custom HTML Documentation.

How to integrate OpenAssistantGPT with Publii

  1. Create your OpenAssistantGPT chatbot

    Sign in to your OpenAssistantGPT dashboard and create a new chatbot or select an existing one.

  2. Configure your chatbot settings

    Customize your chatbot's appearance, behavior, and knowledge base to match your website's needs.

  3. Get your embed code

    In your OpenAssistantGPT dashboard, go to the "Deployment" section and copy your unique embed code.

  4. Add the embed code to your Publii website

    Log in to your Publii account, open your website editor, and add an HTML or Custom Code element to your site. Paste the OpenAssistantGPT embed code into this element.

  5. Publish your website

    Save your changes and publish your website to make the chatbot live.

Advanced Configuration

For more advanced integrations with Publii, you can customize the following:

  • Chatbot position and appearance on your website
  • Trigger conditions (e.g., time on page, scroll depth)
  • Custom welcome messages based on the page content
  • Integration with your existing forms and contact systems

Builder Details

No-code Solution

✅ No coding required

Custom HTML Support

✅ Supports custom HTML