Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 1.72 KB

File metadata and controls

36 lines (23 loc) · 1.72 KB

Node - Another Party Tutorial

This project serves as a guide to help you build an application with Persephony. Specifically, the project will:

  • Create a conference
  • Make an outbound call during the phone call
  • Add the caller to the conference

Setting up your new app within your Persephony account

To get started using a persephony account, follow the instructions here.

Setting up the Tutorial

  1. Install the node packages necessary using command:

    $ yarn install
  2. Configure environment variables (this tutorial uses the dotenv package).

    ENV VARIABLE DESCRIPTION
    ACCOUNT_ID Account ID which can be found under API Keys in Dashboard
    AUTH_TOKEN Authentication Token which can be found under API Keys in Dashboard
    HOST The url of where your app is being hosted (e.g. yourHostedApp.com)

Runnning the Tutorial

  1. Run the application using command:

    $ node streamARecording.js