Projects
Project ID
Understand the format, location, and configuration of the unique Project ID identifier.
Overview
The Project ID is a unique, public string identifier prefixed with proj_ (e.g., proj_9f8a2b3c4d) that tells the SDK which assistant workspace to load.
Format & Specifications
- Prefix: Always starts with
proj_
- Character Set: Alphanumeric lowercase/uppercase strings (
[0-9a-zA-Z]{10,24})
- Public Safety: Project IDs are public metadata safe to embed in client-side HTML.
Locating Your Project ID
- Dashboard URL:
https://asiyst.com/dashboard/projects/proj_9f8a2b3c4d
- Top Header Badge in Project Settings.
- CLI: Run
asiyst status.
Using Project ID in Code
import { Asiyst } from "@asiyst/sdk";
Asiyst.init({
projectId: process.env.NEXT_PUBLIC_ASIYST_PROJECT_ID!,
publicKey: process.env.NEXT_PUBLIC_ASIYST_PUBLIC_KEY!,
});