Developer Resources

SDK Installation Guide

Welcome to the SDK installation guide! This document will walk you through the steps required to get our powerful SDK up and running on your development environment.

Prerequisites

Before you begin, ensure you have the following installed:

  • Node.js: Version 16.x or higher. Download from nodejs.org.
  • npm or Yarn: Package manager that comes with Node.js.
  • Git: For cloning the repository. Download from git-scm.com.

Installation Steps

  1. Clone the Repository

    Open your terminal or command prompt and navigate to your desired project directory. Then, clone the SDK repository:

    git clone https://github.com/your-org/your-sdk.git
  2. Navigate to the SDK Directory

    Change your current directory to the cloned SDK folder:

    cd your-sdk
  3. Install Dependencies

    Install all the necessary dependencies using your preferred package manager:

    Using npm:

    npm install

    Or using Yarn:

    yarn install
  4. Build the SDK (Optional but Recommended)

    For development, it's often useful to build the SDK to ensure everything is set up correctly:

    npm run build

    or

    yarn build
  5. Link the SDK Locally (for development)

    If you plan to develop applications using this SDK without publishing it to a registry, you can link it locally:

    npm link

    or

    yarn link

    In your application's project directory, you can then link to this SDK:

    npm link your-sdk-package-name

    Replace your-sdk-package-name with the actual name found in the package.json file of the SDK.

Platform-Specific Notes

macOS

No special considerations beyond the general steps. Ensure you have Xcode Command Line Tools installed if you encounter build issues.

Windows

You may need to install Python 2.7 and Visual Studio Build Tools. Refer to the Node.js documentation for details on building native modules on Windows.

Linux

Ensure you have build essentials installed (e.g., build-essential package on Debian/Ubuntu).

Next Steps

Once the SDK is installed, you can start integrating it into your projects. Refer to our API Reference and Examples for more detailed guidance.