Skip to main content

Build authentication into your product in minutes

Add login, users, and enterprise identity without rebuilding it yourself.

Get started in 10 minutes

Step 1 — Install

npm install @ithbatiam/sdk

Step 2 — Initialize

import { IthbatSDK } from "@ithbatiam/sdk"

const ithbat = new IthbatSDK({
basePath: "https://api.ithbat.io",
tenantId: "YOUR_TENANT_ID"
})

Step 3 — Login

const { accessToken, user } = await ithbat.auth.login({
email: "[email protected]",
password: "your-password"
})

Step 4 — Get users

ithbat.setAccessToken(accessToken)
const users = await ithbat.users.list()
console.log(users)

Authentication is now working in your app.

Choose how to integrate

TypeScript SDK

Best for frontend apps (React, Next.js, Angular)

SDK Reference

REST API

Best for backend control and automation

API Reference

Webhooks

Listen to authentication and user events

Webhook Guide

Built for production

Multi-region deployment (Global, KSA, Egypt)
Enterprise SSO (SAML 2.0, directory sync)
Audit logs for all identity events
99.9% uptime infrastructure