If you have a website created on Gatsby, you can add a Super Chat live chat widget and talk to your visitors in real time. This can be done in 3 simple steps using Super Chatโs Gatsby plugin.
Step 1. Add the Gatsby plugin to your projectโ
Addย gatsby-plugin-chatwootย to your Gatsby project.
npm install --save gatsby-plugin-chatwoot
If you are using yarn, use the following:
yarn add gatsby-plugin-chatwoot
Step 2. Add the plugin to your Gatsby config fileโ
// In your gatsby-config.js
plugins: [
{
resolve: `gatsby-plugin-chatwoot`,
options: {
baseUrl: "BASE_URL", // Required
websiteToken: "WEBSITE_TOKEN", // Required
includeInDevelopment: false, // Optional
chatwootSettings: {}, // Optional
},
},
];
You can get your Website token and base URL from your Inbox settings in your Super Chat account.
If you need to create a new website channel, follow the procedure illustratedย here.
Step 3. Start your serverโ
You would be able to see the Super Chat widget on the page now.