# Getting started

Create a workspace, connect billing, attribution and revenue, and learn the roles.

AI Spendbook documentation, Start here. Web page: https://www.aispendbook.com/docs/getting-started

1. [Create an account](https://www.aispendbook.com/signup) and a workspace. Choose your main providers so the app can suggest connectors.
2. Connect **billing**: an [Anthropic](https://www.aispendbook.com/docs/anthropic) or [OpenAI](https://www.aispendbook.com/docs/openai) admin key, or the [Google Cloud Billing export](https://www.aispendbook.com/docs/google-gemini) for Gemini. This gives billed cost and provider-reported usage. Other sources are [OpenRouter, Together AI and Fireworks AI](https://www.aispendbook.com/docs/openrouter-and-inference-providers) and [AWS and Azure billing exports](https://www.aispendbook.com/docs/cloud-billing-exports).
3. Connect **attribution**: map the table where your app logs AI calls ([Supabase, Postgres](https://www.aispendbook.com/docs/supabase-postgres) or [Firestore](https://www.aispendbook.com/docs/firebase-firestore)), [import a CSV](https://www.aispendbook.com/docs/csv-imports), or send events with the [SDK](https://www.aispendbook.com/docs/python-sdk) or [ingestion API](https://www.aispendbook.com/docs/ingestion-api). This tells AI Spendbook *who* and *what* each request was for.
4. Optionally connect **revenue** ([Stripe](https://www.aispendbook.com/docs/stripe) or CSV) to see AI cost as a share of each customer's revenue.
5. Set budgets, explore the dashboards and ask the AI Analyst.

No connector has been run against a live account yet. Check the first sync of each one against the provider's own console before you rely on the figures.

Roles: **viewers** can read everything and use the AI Analyst, and do not count toward the plan's member limit. **Analysts** can also create scenarios and exports. **Finance editors** can also run the close, budgets, credits, accounting rules, deals and statements. **Admins** manage connections, keys, members and settings. **Owners** can also set the sign-in rules, delete the workspace and choose the plan. The full table, and the limits an admin can put on a member, are on the [permissions](https://www.aispendbook.com/docs/permissions) page. Single sign-on, two-step verification and SCIM are on [SSO, MFA, SCIM and keys](https://www.aispendbook.com/docs/sso-mfa-scim). Plans are on [plans and billing](https://www.aispendbook.com/docs/plans-and-billing).
