Skip to content

Quickstart

Installing the SDK

1. Install the Typescript SDK.

npm i -s @guava-ai/guava-sdk

2. You will need two environment variables to use the SDK.

$ export GUAVA_API_KEY="..."
$ export GUAVA_AGENT_NUMBER="..."

3. You’re ready.

Running an Example

Outbound Phone Call

$ npx guava-example property-insurance +1... # Use your phone number here and your agent will call you.

Inbound Phone Call

$ npx guava-example thai-palace
$ # Now dial your agent's number while the script is running.