In order to set up your Conversation API application, you typically need to carry out the following steps:
- Create a Vonage application
- Rent and assign a Vonage number
- Build a backend service
- Create a client-side application (possibly using the Client SDK)
This process is illustrated in the following diagram:
Rent and assign a Vonage number to your Vonage Application.
Build a backend service that will:
a. Set an
answer_urlwebhook to define the behavior when a new call is taking place.
event_urlwebhook for your Vonage application's voice capability to receive the voice events that are dispatched by Voice API. This step is optional but recommended.
event_urlwebhook for your Vonage application's RTC capability to receive the RTC events that are dispatched by Conversation API. This step is optional but recommended.
d. Create Users using the Conversation API.
e. Generate JWTs that are used to authorize your Users when performing Conversation API calls, or when logging in to the Client SDKs.
f. Use Conversation API or other Vonage API capabilities as required. For example, to create conversations, and send events. You can also analyze your user's communication behavior and reach interesting conclusions on how to better engage with them. This step is optional but recommended.
Now you can create a client-side application and integrate the Client SDK. Using the Client SDK your client app will be able to:
- Log in a User
- Create and join Conversations
- Start and answer phone and in-app calls
- Send in-app messages
For further information see the following documentation: