Add group chat to your Retool app

This tutorial will show how to create a group chat and add it to your Retool app using our chat component. Have Retool ready and let's get started.

Prerequisites

You will need:

1. Get access token

For our Weavy component to work, we need an access token from the authentication workflow.

Go to Code in the left panel, click the + and select Import Workflow

  • Name it getWeavyToken
  • Select WeavyAuthentication from the Select Workflow dropdown
  • Click the Reset to Example JSON in Workflow parameters
  • Change the Run behavior to Automatic
  • Click Save & Run
  • If successful, you should see an access token in the output window

Retool query setup

Note You need to import the workflow and install the Weavy components for this tutorial to work.

Tutorial: Before you start adding Weavy

2. Add Weavy Chat

Search for Weavy Chat in the components search bar, drag and drop it onto the canvas.

Weavy components

3. Done!

The Weavy Chat component should load instantly - but toggle to Preview mode to see the full experience.

Note that this is fully working now and available for all your users if you want - group chat added, just like that.