Skip to content

Quickstart Guide

Get started with Root Security Platform in minutes. This guide will walk you through the basic setup and integration process.

Prerequisites

  • An active Root Security account
  • Basic familiarity with authentication concepts
  • Development environment with your preferred programming language

Step 1: Set Up Your Application

  1. Log in to the Root Security Dashboard
  2. Navigate to Applications and click Create New
  3. Enter your application details and click Create
  4. Note your Client ID and Client Secret for the next steps

Step 2: Install the SDK

Choose your platform and install the Root Security SDK:

npm install @root-security/auth
pip install root-security
go get github.com/root-security/go-sdk
<dependency>
  <groupId>com.rootsecurity</groupId>
  <artifactId>auth-sdk</artifactId>
  <version>1.0.0</version>
</dependency>

Step 3: Configure Authentication

// Initialize the Root Security client
const { RootSecurity } = require('@root-security/auth');

const rootSecurity = new RootSecurity({
  clientId: 'YOUR_CLIENT_ID',
  clientSecret: 'YOUR_CLIENT_SECRET',
  domain: 'your-tenant.rootsecurity.com'
});
from root_security import RootSecurity

client = RootSecurity(
    client_id='YOUR_CLIENT_ID',
    client_secret='YOUR_CLIENT_SECRET',
    domain='your-tenant.rootsecurity.com'
)

Step 4: Implement Authentication

Follow our complete guides for implementing:

Next Steps