Author
Blog by Documentation Team
All blog posts written by Documentation Team.

This guide will help you integrate our authentication solution into your application in minutes. We'll cover installation, basic configuration, and your first authentication flow.

Prerequisites

  • Node.js 14+ or Python 3.8+
  • npm or yarn
  • An account on our platform

Step 1: Installation

npm install @authcompany/sdk
# or
yarn add @authcompany/sdk

Step 2: Initialize the SDK

import { AuthClient } from '@authcompany/sdk';

const auth = new AuthClient({
  clientId: 'YOUR_CLIENT_ID',
  domain: 'your-tenant.auth.com'
});

Step 3: Implement Login

auth.loginWithRedirect({
  redirectUri: window.location.origin + '/callback'
});

You're now ready to authenticate users! Check our detailed guides for advanced features.