
# 

Migrating to the SSR package from Auth Helpers

* * *

The new `ssr` package takes the core concepts of the Auth Helpers and makes them available to any server language or framework. This page will guide you through migrating from the Auth Helpers package to `ssr`.

## Replacing Supabase packages[#](#replacing-supabase-packages)

```
1npm uninstall @supabase/auth-helpers-nextjs
```

```
1npm install @supabase/ssr
```

## Creating a client[#](#creating-a-client)

The new `ssr` package exports two functions for creating a Supabase client. The `createBrowserClient` function is used in the client, and the `createServerClient` function is used in the server.

Read the [Creating a client](../creating-a-client/index.md) page for examples of creating a client in your framework [and our migration guide](/docs/guides/troubleshooting/how-to-migrate-from-supabase-auth-helpers-to-ssr-package-5NRunM).

## Next steps[#](#next-steps)

*   Implement [Authentication using Email and Password](../../passwords/index.md)
*   Implement [Authentication using OAuth](../../social-login/index.md)
*   [Learn more about SSR](../advanced-guide/index.md)
