React Installation

Install Conferbot on React

Follow this step-by-step guide to add a powerful AI chatbot to your React website in minutes.

3 minutes
Easy
Copy & paste
1

Create your Conferbot account

Sign up for a free Conferbot account if you haven't already.Create account

Step 1: Create your Conferbot account
2

Build your chatbot

Choose from 100+ templates or build from scratch using our drag-and-drop builder.

Step 2: Build your chatbot
3

Customize your bot

Modify the conversation flow to match your business needs. Add your brand colors and personalize messages.

Step 3: Customize your bot
4

Configure widget settings

Go to Deploy > Widget and customize how your chatbot appears on your React app.

Step 4: Configure widget settings
5

Generate the embed code

Click 'Generate Code' to get your unique embed snippet.

Step 5: Generate the embed code
Conferbot Widget Code
<script type="text/javascript">
  (function (d, s, id) {
    var js, el = d.getElementsByTagName(s)[0];
    if (d.getElementById(id)) return;
    js = d.createElement(s);
    js.async = true;
    js.src = 'https://cdn.conferbot.com/dist/v1/widget.min.js';
    js.id = id;
    js.charset = 'UTF-8';
    el.parentNode.insertBefore(js, el);
    js.onload = function () {
      var w = window.ConferbotWidget("YOUR_BOT_ID");
    };
  })(document, 'script', 'conferbot-js');
</script>

Replace YOUR_BOT_ID with your actual bot ID from the dashboard

6

Add to your React app

Install the code in your React application using one of these methods:

6a

Open your main App.js or index.js file in your React project

Step 6a: Open your main App.js or index.js file in your React project
6b

Add the script tag inside a useEffect hook to load it when the component mounts

6c

Alternatively, add the script directly to your public/index.html file before the closing </body> tag

6d

Save your changes and restart your development server to see the chatbot

You're all set!

Refresh your React app and your chatbot should now be live. Start engaging with your visitors!

Other Platform Guides

Looking for a different platform? Check out our other installation guides.

Need Help with React Installation?

Our support team can help you get your chatbot running on React in no time.

Plataforma Omnicanal

Um Chatbot,
Todos os Canais

Seu chatbot funciona no WhatsApp, Messenger, Slack e mais 6 plataformas. Crie uma vez, implante em todos os lugares.

View All Channels
Conferbot
online
Olá! Como posso ajudar?
Preciso de informações sobre preços
Conferbot
Ativo agora
Bem-vindo! O que você procura?
Agendar uma demo
Claro! Escolha um horário:
#suporte
Conferbot
Novo ticket de Sarah: "Não consigo acessar o painel"
Resolvido automaticamente. Link de redefinição enviado.