Skip to content

FreeClimbAPI/Node-Click-To-Call-How-To-Guide

Repository files navigation

Node Click To Call How-To Guide

code style: prettier JavaScript Style Guide License: MIT Click To Call CI Coverage Status

This project serves as a guide to help you build a click to call application with FreeClimb.

Specifically, the project will:

  • Get phone numbers via a webpage
  • Create an outgoing call using the FreeClimb API
  • Create a conference using PerCL
  • Connect an agenct and caller in a conference using PerCL

Sample App How-To Guide

We offer a Click to Call via Web Browser How-To Guide for more detailed set-up instructions and explanation of how the code in this click to call sample app works.

Requirements

A FreeClimb account

A registered application with a named alias

A configured FreeClimb number assigned to your application

Trial accounts: a verified number

Tools:

Setting up the Sample App

  1. Install the required packages

    yarn install
  2. Create a .env file and configure the following environment variables within it:

    ENV VARIABLE DESCRIPTION
    ACCOUNT_ID Account ID which can be found under API credentials in dashboard.
    API_KEY API key which can be found under API credentials in dashboard.
    APP_ID Application Id associated with your freeclimb app can be found under Apps in dashboard.
    HOST The hostname as defined in your FC application. We recommend ngrok as an option to get up and running quickly.
    PORT Specifies the port on which the app will run (e.g. PORT=3000 means you would direct your browser to http://localhost:3000).
    FC_NUMBER The FreeClimb phone number associated with your application.

Running the Sample App

yarn start

Feedback & Issues

If you would like to give the team feedback or you encounter a problem, please contact support or submit a ticket in the dashboard.

About

Simple click to call application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •