Clerk + Firebase

Protect your Firebase Cloud Functions with user authentication using Clerk.

Seamless integration

Firebase is among the top Platform-as-a-Service (PaaS) providers for web and mobile applications. Clerk integrates directly with Firebase, so developers can easily add our beautiful Sign Up, Sign In, and User Profile UIs to their Firebase application. The integration allows developers to use Firebase's full feature set, without compromising on user management.

JWT template

Native authentication

The Clerk-Firebase integration natively authenticates a user as a Firebase authenticated user, recognized by both systems.

Fewer Resources

No backend code or calling yet another API to continuously verify with both platforms.

Simple solution

Clerk's custom authentication works the same way as it would with a standard Firebase authentication provider.

Firebase tools

Our integration allows Clerk-managed users to authenticate and interact directly with Firebase's suite of tools, including Realtime Database, Cloud Functions, and Cloud Storage.

Cloud Functions

Cloud Functions for Firebase is a serverless framework that lets you automatically run backend code in response to events triggered by Firebase features and HTTPS requests.

Realtime Database

The Firebase Realtime Database is a cloud-hosted database. Data is stored as JSON and synchronized in realtime to every connected client.

icons

The Frontend Stack

Firebase and Clerk are part of the modern Frontend Stack.

SaaS is moving to the frontend, enabled by easy-to-use frameworks such as Next.js. Firebase provides tools that help developers quickly build and scale their applications without the stress of managing their database. The combination of Clerk and Firebase provides near-realtime data syncing and strong user-based security.

The Frontend Stack saves time and resources, allowing you to focus on what makes your application unique.

Get Started with Clerk + Firebase

Check out our documentation on getting started with Clerk and Firebase, or work through our end-to-end tutorial.