Skip to main content
Version: Node.js

SDK Installation & Setup

This guide will walk you through the process of installing the Glide SDK and making your first API call to leverage our telecom-powered security features.

Prerequisites

  • Completed the Registration process and obtained your API credentials.

Overview

The Glide SDK provides a seamless interface to interact with Open Gateway services, allowing you to integrate advanced telecom-based security features into your applications. Our SDK supports multiple programming languages to fit your development needs.

Step 1: Set Up Your Project

First, let's create a new project directory and initialize it:

mkdir glide-demo
cd glide-demo
npm init -y

Step 2: Install SDK

Next, you need to install the Glide SDK to the newly created project.

npm install glide-sdk

Optional: Step 3: Setup Environment Variables

As a best practice, you should store your credentials in environment variables instead of entering them directly into the SDK constructor.

To do this, create a new file called .env in the root of your project and add the following:

GLIDE_CLIENT_ID=<your-api-key>
GLIDE_CLIENT_SECRET=<your-api-secret>
Dont Forget

Replace <your-api-key> and <your-api-secret> with the values you received from the service dashboard.

info

The SDK will automatically pick up these environment variables when you initialize it. This behavior can be turned off by passing the useEnv option as false when initializing the SDK also passing the client ID and secret as options will override loading from the environment.

Step 4: Make Your First API Call

Now that you have installed the SDK and set up your environment variables, you can make your first API call.