Home Website Live Chat
💬

Website Live Chat

Bring your website to life with Akece’s real-time chat, connecting you instantly to your visitors.
Stênio Aníbal
By Stênio Aníbal
10 articles

How to Set Up Live Chat on Your Website

Akece's live chat lets you offer real-time support directly on your website—providing a fast, modern, and fully integrated customer service experience. This guide walks you through how to create the website inbox and configure all available settings. Supported Browsers and Devices Akece works with all major modern browsers. We recommend using up-to-date versions of the following: Desktop browsers: - Mozilla Firefox: version 52 or later - Google Chrome / Chromium: version 57 or later - Apple Safari: version 14.1 or later - Microsoft Edge: version 16 or later Mobile apps: - Android: version 5.0 or later - iOS: version 11.0 or later How to Create a Website Channel (Website Inbox) Step 1 – Start inbox setup Go to Settings → Inboxes → Add Inbox Select the Website option and click Configure. Step 2 – Fill in your site information You’ll be asked to provide the following: - Website name: a label to identify the inbox Example: Corporate Website - Website URL: the domain where the chat will be installed *Example: *https://www.example.com - Widget color: choose the color of the chat bubble/button - Welcome header: short greeting shown on the chat widget Example: Hi there 👋 - Welcome message: supporting message below the header Example: We're here to help you with anything you need. - Optional auto-message: Example: Hello! How can we assist you today? Enable or disable auto-sending of this message when the chat begins. Click Create Inbox. Step 3 – Add agents to the channel Even if you’re the admin, you must add yourself as an agent to view and reply to conversations. Select the desired agents and click Add Agents. Step 4 – Add the widget to your website In the final step, you’ll see a code snippet to embed on your site. Copy and paste it into your site’s main HTML file (usually inside the <head> tag). You can click More Settings to adjust additional options or Go to Inbox to open the newly created channel. Advanced Website Inbox Settings From the Inboxes page, click the gear icon next to the inbox you want to configure. You’ll see the following tabs: "Settings" tab Here you’ll find extra options: - Auto-collect email: enabled by default. Displays a field asking for the visitor's email before starting a conversation. - Enable CSAT (Customer Satisfaction Survey): enables a rating survey when a conversation is closed. The results appear in the Reports section. Click Update to save changes. "Agents" tab Add or remove agents from the inbox. You can also enable auto-assignment of incoming conversations to available agents. "Business Hours" tab Activate “Set business availability for this inbox” if you want to limit support to fixed hours. You can: - Define available days and times - Customize the offline message shown when support is unavailable - Choose your correct time zone Click Update Business Hours to save. "Pre-Chat Form" tab This form collects information before a conversation starts. You can request default fields like: - Name - Email - Phone number For custom fields, create custom attributes first, then return here to use them. Example greeting message: Hi! Please fill out some quick info so we can help you better 🙂 Click Update to enable the form. "Integration Code" tab Here you can copy the chat widget code again if you need to reinstall it on your site. "Widget Editor" tab Customize the look and feel of your live chat widget. Change colors, text, and preview how the widget will appear on your site in real time. With your live chat successfully configured, you're now ready to provide fast, direct support to your website visitors. If you need help at any step, reach out to us: 📩 [email protected] 📱 @akece.ai Next step: Connect social media and other messaging channels to complete your omnichannel support experience.

Last updated on Apr 16, 2025

How to Install the Live Chat on a WordPress Website

If your website was built using WordPress, you can easily add Akece’s live chat widget to chat with your visitors in real time. Just follow the steps below using the official Akece plugin for WordPress. 1. Download the Akece Plugin Go to the official GitHub repository and download the latest .zip file of the Akece plugin. The plugin will soon be available directly in the WordPress plugin directory. 2. Upload the Plugin to WordPress 1. Access your WordPress admin panel. 2. Go to Plugins → Add New. 3. Click on Upload Plugin. 4. Select the downloaded .zip file and click Install Now. 5. Once installed, click Activate Plugin. 3. Configure the Akece Plugin With the plugin activated, follow the steps below to integrate the chat with your website: 1. In the WordPress sidebar menu, go to Settings → Akece Chat. 2. Fill in the configuration fields using the details from your Website inbox. You can find these values in the Akece dashboard when creating the inbox: - Widget Token - Installation URL: for Akece, use https://dash.akece.com 4. Customize the Widget Appearance You can configure: - Widget design: standard bubble or expanded bubble - Position: bottom right or left corner of the website - Language: Akece supports Brazilian Portuguese (pt-BR), English (en), and Spanish (es) - Button text (optional): customize the text shown in the chat bubble, if using the expanded design After filling in the information, click Save Changes. 5. Verify the Installation Visit your website and check if the widget appears in the corner of the screen. If everything is set correctly, your visitors can now chat with you in real time! If you need help configuring the live chat on your WordPress site, contact us: 📩 [email protected] | 📱 @akece.ai

Last updated on Apr 16, 2025

How to Install the Live Chat in a Next.js Application

f you're using Next.js in your application, you can add the Akece live chat widget and talk to your visitors in real time. Just follow two simple steps to load the widget script asynchronously. 1. Create the AkeceWidget Component Create a new file called AkeceWidget.js inside your project’s components folder and add the following content: import React from 'react'; class AkeceWidget extends React.Component { componentDidMount () { // Widget settings window.akeceSettings = { hideMessageBubble: false, position: 'right', // Can be 'left' or 'right' locale: 'en', // Language: pt_BR, en, es type: 'standard', // 'standard' or 'expanded_bubble' }; // Widget script loader (function(d, t) { var BASE_URL = "https://dash.akece.com"; var g = d.createElement(t), s = d.getElementsByTagName(t)[0]; g.src = BASE_URL + "/packs/js/sdk.js"; s.parentNode.insertBefore(g, s); g.async = true; g.onload = function() { window.akeceSDK.run({ websiteToken: '<your-website-token>', baseUrl: BASE_URL }); }; })(document, "script"); } render () { return null; } } export default AkeceWidget; Replace '<your-website-token>' with the token from your Website inbox, available in your Akece dashboard under Settings → Inboxes. 2. Import the Component into Your App You can import the widget into your main layout or a specific page. For example: import React, { Fragment } from 'react'; import AkeceWidget from '../components/AkeceWidget'; const Page = () => ( <Fragment> <AkeceWidget /> <Component {...} /> </Fragment> ); export default Page; Once the page is loaded, the Akece widget will appear automatically. Need help setting up the widget in your Next.js application? Reach out to us anytime: 📩 [email protected] 📱 @akece.ai

Last updated on Apr 16, 2025

How to Install the Live Chat in a Vue.js Application

If you're using Vue.js for your website or application, you can easily integrate the Akece live chat widget to talk to your visitors in real time. To do so, simply add the widget script directly into your project’s index.html file. 1. Get the Widget Script You can find the widget script in the settings of your Website inbox. To access it: - Go to Settings → Inboxes - Click the Configure link for the Website inbox - Open the Configuration tab If you haven't created a Website inbox yet, follow this guide to learn how to set one up. 2. Copy the Generated Script Copy the script shown in the configuration tab. It should look similar to this: <script> (function(d, t) { var BASE_URL = "https://dash.akece.com"; var g = d.createElement(t), s = d.getElementsByTagName(t)[0]; g.src = BASE_URL + "/packs/js/sdk.js"; g.defer = true; g.async = true; s.parentNode.insertBefore(g, s); g.onload = function () { window.akeceSDK.run({ websiteToken: "YOUR_TOKEN_HERE", baseUrl: BASE_URL }); }; })(document, "script"); </script> Make sure to replace "YOUR_TOKEN_HERE" with the actual token from your Website inbox. 3. Paste the Script into index.html Open your Vue project and edit the file located at: /public/index.html Paste the script just before the closing </body> tag, like this: <body> <noscript> <strong>Please enable JavaScript to view this site properly.</strong> </noscript> <div id="app"></div> <!-- built files will be auto injected --> <!-- Akece Widget Script --> <script> (function(d, t) { var BASE_URL = "https://dash.akece.com"; var g = d.createElement(t), s = d.getElementsByTagName(t)[0]; g.src = BASE_URL + "/packs/js/sdk.js"; g.defer = true; g.async = true; s.parentNode.insertBefore(g, s); g.onload = function () { window.akeceSDK.run({ websiteToken: "YOUR_TOKEN_HERE", baseUrl: BASE_URL }); }; })(document, "script"); </script> </body> Again, replace "YOUR_TOKEN_HERE" with your actual token. 4. Confirm the Installation After saving your changes, publish your project or reload your site locally. The Akece widget should now appear automatically on every page. Need help configuring the widget in your Vue.js project? We’re here to help: 📩 [email protected] 📱 @akece.ai

Last updated on Apr 16, 2025

How to Continue Conversations via Email

Akece allows your customers to continue live chat conversations via email, keeping the conversation history centralized in a single place. This feature is especially useful in the following scenarios: - No agent is available at the moment and the customer leaves a message via chat - The customer closes the chat before receiving a reply To ensure the conversation continues smoothly via email, the contact must have a registered email address in the Akece CRM. How to Collect the Customer’s Email You can collect the customer's email in three different ways: 1. Using the Akece SDK If you already know the customer's email, you can pass it directly to the widget using the setUser method: window.$akece.setUser("unique_id", { email: "[email protected]" }); 2. Using the Pre-chat Form If you enable a required pre-chat form, customers will be asked to provide their name and email before starting the conversation. 3. Using the Email Prompt If the pre-chat form is disabled and the email is not known, Akece will automatically prompt the user to enter their email after their first interaction in the chat. How the Email Continuation Works If the customer leaves the chat before receiving a reply and their email is available, Akece will send them a conversation summary by email. From that point on: - The customer can reply directly to the email - The response will be automatically added to the existing conversation in the Akece dashboard - The agent can continue the support interaction from the same conversation A visual indicator will show when the message comes from email: 📨 Email icon in the message bubble = reply received via the customer's email If you need help configuring email continuation or collecting emails automatically, reach out to us: 📩 [email protected] 📱 @akece.ai

Last updated on Apr 16, 2025

How to Enable Identity Validation

Identity validation ensures that conversations between your customers and support agents are private and secure. It also prevents someone from impersonating another user through the chat widget. This feature can be enabled by generating an HMAC (Hash-based Message Authentication Code). Where to Find the Token for HMAC Generation To generate the signature correctly, you need the validation token provided by Akece. You can find it in your dashboard: Settings → Inboxes → Configuration → Identity Validation Click Copy Token to copy it. How to Generate the HMAC Below are code examples to generate the identifier_hash using the user’s identifier, in different programming languages: PHP <?php $key = '<widget-hmac-token>'; $message = '<identifier>'; $identifier_hash = hash_hmac('sha256', $message, $key); ?> JavaScript (Node.js) const crypto = require('crypto'); const key = '<widget-hmac-token>'; const message = '<identifier>'; const hash = crypto.createHmac('sha256', key).update(message).digest('hex'); Ruby require 'openssl' key = '<widget-hmac-token>' message = '<identifier>' OpenSSL::HMAC.hexdigest('sha256', key, message) Elixir key = '<widget-hmac-token>' message = '<identifier>' signature = :crypto.mac(:hmac, :sha256, key, message) Base.encode16(signature, case: :lower) Golang package main import ( "crypto/hmac" "crypto/sha256" "encoding/hex" ) func main() { secret := []byte("<widget-hmac-token>") message := []byte("<identifier>") hash := hmac.New(sha256.New, secret) hash.Write(message) hex.EncodeToString(hash.Sum(nil)) } Python import hashlib import hmac secret = b'<widget-hmac-token>' message = b'<identifier>' hash = hmac.new(secret, message, hashlib.sha256) print(hash.hexdigest()) If you need help setting up identity validation for your widget, feel free to reach out: 📩 [email protected] 📱 @akece.ai

Last updated on Apr 16, 2025

How to Send Additional User Information Using the Akece SDK

The Akece SDK allows you to send additional information about users accessing your website directly to the platform. This data helps your team deliver more personalized support. Initializing the SDK After installing the Akece widget on your website, the window.$akece object becomes available. To ensure it’s fully loaded, listen for the akece:ready event: window.addEventListener("akece:ready", function () { // Use window.$akece here }); You can also listen for incoming messages with: window.addEventListener("akece:on-message", function(e) { console.log('akece:on-message', e.detail); }); Widget Settings You can customize the widget’s behavior using window.akeceSettings: window.akeceSettings = { hideMessageBubble: false, showUnreadMessagesDialog: false, position: "right", locale: "pt_BR", useBrowserLanguage: false, type: "standard", darkMode: "auto", showPopoutButton: true, launcherTitle: "Talk to us" }; Widget Design Types - standard: Traditional chat icon - expanded_bubble: Expanded bubble with custom title Auto Language Detection Enable automatic detection based on browser language: useBrowserLanguage: true Note: This will override the locale setting. Open or Hide the Widget Programmatically window.$akece.toggleBubbleVisibility("show"); window.$akece.toggleBubbleVisibility("hide"); window.$akece.toggle(); // Toggle open/close window.$akece.toggle("open"); // Open window.$akece.toggle("close"); // Close Open in a Pop-up Window window.$akece.popoutChatWindow(); Identifying a User Use setUser to associate user data with the widget: window.$akece.setUser("UNIQUE_USER_ID", { email: "[email protected]", name: "User Name", avatar_url: "https://image-url.com", phone_number: "+551199999999" }); HMAC Validation To enhance security and prevent impersonation, HMAC validation is recommended: window.$akece.setUser("UNIQUE_USER_ID", { name: "Name", email: "[email protected]", identifier_hash: "GENERATED_HASH", phone_number: "+55...", avatar_url: "https://...", description: "User profile", country_code: "BR", city: "São Paulo", company_name: "Company", social_profiles: { linkedin: "username" } }); 📌 See our technical documentation to learn how to generate the HMAC hash. Custom Attributes Send additional user data using setCustomAttributes: window.$akece.setCustomAttributes({ plan: "premium", signupDate: "2024-01-01" }); To remove a specific custom attribute: window.$akece.deleteCustomAttribute("plan"); Set Labels Before the Conversation Starts If the visitor hasn’t started a conversation yet, you can preset labels: window.$akece.setLabel("support-request"); window.$akece.removeLabel("support-request"); Manually Set Language window.$akece.setLocale("pt_BR"); Reset Session (Logout) window.$akece.reset(); Monitor Widget Errors window.addEventListener("akece:error", function () { // Error handling logic }); If you need help integrating the SDK or sending custom data to the widget, feel free to reach out: 📩 [email protected] 📱 @akece.ai

Last updated on Apr 16, 2025