# Hosted authentication for Expo, iOS, and Android

Clerk's mobile SDKs can now hand the entire sign-in and sign-up flow to [Account Portal](https://clerk.com/docs/guides/account-portal/overview.md), Clerk's hosted authentication pages. A single method call opens the browser, the user authenticates on your Account Portal, and the created session is activated back in your app.

Because the flow runs through Account Portal, every authentication method enabled on your instance works without building native UI for it: email codes, passwords, social providers, enterprise SSO, and MFA all come along automatically, styled with your Account Portal branding.

## Expo

```tsx
import { useHostedAuth } from '@clerk/expo/hosted-auth'

const { startHostedAuth } = useHostedAuth()

await startHostedAuth()
```

## iOS

```swift
try await clerk.auth.startHostedAuth()
```

## Android

```kotlin
scope.launch {
  Clerk.auth.startHostedAuth()
}
```

Hosted authentication is available in `@clerk/expo` 4.1.0, the Clerk iOS SDK 1.3.5, and the Clerk Android SDK 1.0.37. See the [mobile hosted authentication guide](https://clerk.com/docs/guides/account-portal/hosted-auth.md) to get started.
