Skip to content

Commit

Permalink
fix(client): better instructions (#556)
Browse files Browse the repository at this point in the history
  • Loading branch information
spg committed Dec 23, 2022
1 parent 2d7b226 commit 4fd1e81
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ pnpm add @botpress/messaging-client
Initialize the client and respond to messages

```ts
// ensure your Express app has the json middleware
app.use(express.json())

// initialize client with your credentials
const client = new MessagingClient({
clientId: 'my-client-id',
Expand Down

0 comments on commit 4fd1e81

Please sign in to comment.