# Get Firebase Project Name

> Firebase Project or App name is available as global variable here: You can use this variable simply to get the app name or current domain like so:

- Canonical: https://preview.arshadmehmood.com/today-i-learned/firebase/get-firebase-app-name/
- Section: firebase
- Author: Arshad Mehmood

Firebase Project or App name is available as global variable here:

```js
process.env.GCLOUD_PROJECT
```

You can use this variable simply to get the app name or current domain like so:

```
    const domainName = 'https://' + process.env.GCLOUD_PROJECT + '.firebaseapp.com';
    console.log(domainName)
```

