Build a chat/messenger into your Retool app
This tutorial will show you how to add a full-featured messenger to your Retool app using our messenger component. Have Retool ready, and let's get started.
Prerequisites
You will need:
- A Weavy API key
- A Retool account
- Weavy components installed in your Retool account
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
WeavyAuthenticationfrom the Select Workflow dropdown - Click the
Reset to Example JSONinWorkflow parameters - Change the
Run behaviortoAutomatic - Click
Save & Run - If successful, you should see an access token in the output window

Note You need to import the workflow and install the Weavy components for this tutorial to work.
2. Add Weavy Messenger
Search for Weavy Messenger in the components search bar, drag and drop it onto the canvas.

3. Done!
The Weavy Messenger 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 - full-featured messaging, just like that.