Skip to main content

Setup

Before getting started, make sure Git, Node.js, and npm are installed on your system.

Obtain API Keys

You gave 2 options to obtain your API Keys

  1. Demo Keys:
    Fill out this Google Form and we'll email you with the API Key & Secret, valid for 72 Hours.

    Once they expire, you can create the credentials on the Developer Console by signing up for a free account.

  2. API Keys from the Developer Console:

Project Setup

  1. Open a terminal
  2. cd into a folder of your choice
  3. Clone the project by running
    git clone https://github.com/Realtime-Relay/terminal-chat-example.git
  4. Go to the terminal-chat-app directory
    cd terminal-chat-example/terminal-chat-app
  5. Install Dependencies
    npm install

In the next section, we’ll configure the API Key and Secret in the application, run it, and walk through how the code works.