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

# Authentication

> How OCCode handles sign-in and keeps your account secure.

## Sign-in options

| Method               | Best for                          |
| -------------------- | --------------------------------- |
| **Google**           | Fastest — one click and you're in |
| **Email + Password** | If you prefer not to use Google   |

Both are equally secure. Most people use Google.

***

## How sign-in works

<Steps>
  <Step title="OCCode opens your browser" icon="arrow-up-right-from-square">
    The app opens a secure sign-in page automatically.
  </Step>

  <Step title="You sign in" icon="right-to-bracket">
    Choose Google or enter your email and password.
  </Step>

  <Step title="Redirected back to OCCode" icon="rotate-left">
    After signing in, your browser sends you back to the app via a secure link.
  </Step>

  <Step title="You're signed in" icon="circle-check">
    Your session is stored locally. You won't need to sign in again unless you log out.
  </Step>
</Steps>

***

## Google sign-in

The fastest way to get started:

1. Click **"Continue with Google"**
2. Pick your Google account
3. You're in — your name and profile picture are imported automatically

***

## Email + password

For users who prefer not to use Google:

1. **Sign up** with your email and a password (minimum 8 characters)
2. **Log in** with the same credentials anytime

<Warning>
  There is currently no password reset flow. If you forget your password, you can sign in with Google instead — if you use the same email, the accounts are linked automatically.
</Warning>

***

## Managing your account

Visit the [dashboard](https://occ.mba.sh/dashboard) to see your account details:

<CardGroup cols={3}>
  <Card title="Profile" icon="user">
    Your name and email.
  </Card>

  <Card title="Balance" icon="wallet">
    Your current credit balance.
  </Card>

  <Card title="History" icon="clock-rotate-left">
    Usage and purchase history.
  </Card>
</CardGroup>

To **sign out**, click the sign-out button in the dashboard sidebar or within OCCode.

***

## Security

<CardGroup cols={2}>
  <Card title="Encrypted passwords" icon="shield-halved">
    Passwords are hashed with bcrypt — we never store your plain-text password.
  </Card>

  <Card title="Secure connections" icon="lock">
    All communication is encrypted over HTTPS.
  </Card>
</CardGroup>
