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

# Simpu Provider

The main provider component that wraps your application and provides context for all other components.

```jsx theme={null}
import { SimpuProvider } from "@simpu/mail-sdk";

function App() {
  return (
    <SimpuProvider
      apiUrl="https://api.simpu.co"
      accessToken="your-access-token"
      organisationID="your-organisation-id"
    >
      {/* Your app components */}
    </SimpuProvider>
  );
}
```

<Note>
  **Always wrap your app with the SimpuProvider** - This ensures all components
  and hooks have access to the necessary Simpu API context.
</Note>

#### Props

<ParamField path="apiUrl" type="string" required>
  The base URL for the Simpu API
</ParamField>

<ParamField path="accessToken" type="string" required>
  Your authentication token
</ParamField>

<ParamField path="organisationID" type="string" required>
  Your organisation ID
</ParamField>
