---
title: "Comment by Ruslan on \"The Ultimate Guide To Firebase With Next.JS 🔥\" | Hashnode"
description: "*NEXT_PUBLIC_FIREBASE_API_KEY=&lt;your-api-key&gt; NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=&lt;your-auth-domain&gt; NEXT_PUBLIC_FIREBASE_PROJECT_ID=&lt;your-project-id"
url: "https://hashnode.com/posts/the-ultimate-guide-to-firebase-with-nextjs/60b5aea65302e8579db4beef/comment/622a0edfe552e99d82e58acf"
---

[Discussion](https://hashnode.com/posts/the-ultimate-guide-to-firebase-with-nextjs/60b5aea65302e8579db4beef)

Comment [The Ultimate Guide To Firebase With Next.JS 🔥](https://hashnode.com/posts/the-ultimate-guide-to-firebase-with-nextjs/60b5aea65302e8579db4beef)

[Ruslan](https://hashnode.com/@rusik)

[Mar 10, 2022](https://hashnode.com/posts/the-ultimate-guide-to-firebase-with-nextjs/60b5aea65302e8579db4beef/comment/622a0edfe552e99d82e58acf)

\*NEXT\_PUBLIC\_FIREBASE\_API\_KEY=<your-api-key> NEXT\_PUBLIC\_FIREBASE\_AUTH\_DOMAIN=<your-auth-domain> NEXT\_PUBLIC\_FIREBASE\_PROJECT\_ID=<your-project-id> NEXT\_PUBLIC\_FIREBASE\_STORAGE\_BUCKET=<your-storage-bucket> NEXT\_PUBLIC\_FIREBASE\_MESSAGING\_SENDER\_ID=<your-sender-id> NEXT\_PUBLIC\_FIREBASE\_APP\_ID=<your-firebase-app-id>

Great, now we have all of our configuration values stored in Environment Variables - this means we don't expose our private configuration values to the public! __\* NEXT\_PUBLIC means that you expose the values to public!__
