Prerequisites

Before you begin building the application, you must have the following prerequisites installed on your system:

  1. Catalyst CLI : Catalyst CLI contains a host of tools that enable you to initialize, develop, test, and deploy the components of your application from your local machine. We will be working with Catalyst CLI in this tutorial.

    You must perform these actions:

    1. Install Catalyst CLI: Catalyst CLI is installed through NPM. You must therefore have NPM and Node.js installed on your system before you install the CLI. Refer to the Install Catalyst CLI help page for details on the pre-requisites and the steps to install it.

    2. Login Catalyst CLI: After you install Catalyst CLI, you must authenticate the CLI with your Catalyst account before using it. Refer to the CLI Login help page for the steps to log in from Catalyst CLI and the various options available for it.

  2. Any IDE tool for Java, Node.js, and client code development : Download and install an IDE of your choice in your system. You can use any IDE to work with the function and the client code. Some popular choices include Visual Studio Code, IntelliJ IDEA, Eclipse, and Sublime Text.

  3. Twilio account and credentials : As discussed earlier, you will need to purchase a paid Twilio account in order to integrate with Twilio’s Voice API. Make sure you obtain the below credentials in prior from your Twilio account:

    1. Twilio phone number
    2. Twilio SID
    3. AuthToken

You can navigate to the Twilio console to obtain your account’s SID and AuthToken. These are auto-generated by Twilio upon account creation. SID is a unique string value provided by Twilio to identify your account’s call resource and AuthToken is generated to authenticate your API requests.

Make sure to get a voice capable Twilio number. Again, this can be purchased for free from the Twilio console itself. As discussed earlier, the primary purpose of this number is to route calls in your application. We will use these credentials in our code section while calling Twilio’s Voice API.

twilio-credentials

Last Updated 2023-12-14 16:25:23 +0530 +0530