> ## Documentation Index
> Fetch the complete documentation index at: https://docs.upstackdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# account_created Event

> Track when a new account (organization/workspace) is created in your SaaS application.

Fires when a new account (organization/workspace) is created. Use this event to measure account growth and track the top of your B2B funnel.

## JavaScript

```javascript theme={null}
window._upstack('track', 'account_created', {
  accountId: 'acct_abc123',
  accountName: 'Acme Corporation',
  planId: 'plan_starter_monthly',
  planName: 'Starter',
  userId: 'usr_xyz789',
  userEmail: 'jane@acme.com'
});
```

## Properties

| Property    | Type   | Required | Description               |
| ----------- | ------ | -------- | ------------------------- |
| accountId   | string | Yes      | Unique account identifier |
| accountName | string | No       | Account/organization name |
| planId      | string | No       | Initial plan identifier   |
| planName    | string | No       | Initial plan name         |
| userId      | string | No       | Creating user's ID        |
| userEmail   | string | No       | Creating user's email     |

## When to Fire

* After account registration completes
* After organization setup wizard finishes
* After SSO provisioning creates a new workspace
