Authentication with Clerk.dev

Learn how to set up authentication using Clerk.dev in your ProtonStack application.


Authentication with Clerk.dev

ProtonStack leverages Clerk.dev for a robust and secure authentication system. Follow the steps below to integrate authentication into your ProtonStack application.

Prerequisites

Before you begin, ensure you have:

Set environment keys

  1. Sign in your Clerk account and go to your your Clerk Dashboard, your secret key should become visible by clicking on the eye icon.
  2. Add them to your .env file
    NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=​pk_test_************
    CLERK_SECRET_KEY=​sk_test_••••••••••••••••••••••••••••••••••​

Learn More

For detailed information on setting up authentication with Clerk.dev, refer to the official Clerk.dev documentation:

Clerk.dev Documentation

The Clerk.dev documentation provides comprehensive guides, tutorials, and API reference to help you tailor the authentication system to your ProtonStack application's requirements.

Remember to check the Clerk.dev Dashboard regularly for user analytics, security insights, and to manage your authentication-related configurations.

By leveraging Clerk.dev, you ensure a secure and seamless authentication experience for your ProtonStack application users.