Configure your prerequisites
There are a few prerequisites that you need to complete before you can work through this tutorial. If you've already completed any of them, feel free to skip that step.
If you want to carry out tasks such as creating applications, purchasing Vonage numbers and so on, you will need to install the Nexmo CLI. As the Nexmo CLI requires
node.js you will need to install
To make sure
node.js is installed, please run the following command in the terminal:
The Nexmo CLI allows you to carry out many operations on the command line. Examples include creating applications, purchasing numbers, and linking a number to an application.
To install the Beta version of the CLI with NPM you can use:
npm install nexmo-cli@beta -g
Set up the Nexmo CLI to use your Vonage API Key and API Secret. You can get these from the settings page in the Dashboard.
Run the following command in a terminal, while replacing
API_SECRET with your own:
nexmo setup API_KEY API_SECRET
If you want to use the Client SDK for Android, you need to install Android Studio.
Creating an Android chat appCreate a Android application that enables users to message each other using the Android Client SDK and Java.