Getting Started
Welcome to Uzaif Inventory. Follow this guide to set up your account and dive into the platform.
Our platform is designed to be highly secure, modular, and fast. To begin managing your stock and sales, you'll need to create an account and register your organisation.
Initial Setup
1
Sign Up for an Account
Navigate to the `/setup` route to create your initial Super Admin or Org Admin account. Alternatively, if you've been invited by a colleague, use the secure link in your email.
2
Create an Organisation
Upon your first login, the system will prompt you to create or select an Organisation. You will need to provide your business's:
- Legal Name
- Tax Registration Number (TRN)
- Base Currency
3
Configure Billing Settings
Head over to Admin → Settings. Here you can set your Invoice Prefixes, VAT Return Periods, and UPI IDs for payments.
Inviting Your Team
Once your organisation is set up, you can invite your team members. If you are interacting with the API directly, here is a quick snippet on how you might verify an active session programmatically:
typescript
import { auth } from "@/auth";
import { headers } from "next/headers";
export async function checkSession() {
const session = await auth.api.getSession({
headers: await headers()
});
if (!session?.user) {
throw new Error("Unauthorized access.");
}
return session.user;
}
