chat base path (api.botpress.cloud/v1/chat/).
Using the Official TypeScript Client
The official TypeScript client is available as an NPM package. You can install it using any of the following command:This example uses
dotenv to manage Botpress credentials. If you’d rather manage your credentials differently, just remove the import and define your token and bot ID however you like.