> For the complete documentation index, see [llms.txt](https://docs.notionapps.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.notionapps.com/users/private-apps.md).

# Private apps

## Private apps

This document details how to create a login-enabled app on top of Notion databases.

{% embed url="<https://www.youtube.com/watch?v=gdkg-oPsw3E>" %}

To create a private app on NotionApps, you need to follow these steps:

#### #1 Create a Users database

First, you need to create a Users database. You can skip this step if you've already created one.

A users database should have at least two properties. A name property and an email address property. Every email address present in the Users database can log in to the app.

{% hint style="success" %}
You can duplicate this [Sample Users Database](https://utilizeapp.notion.site/Users-Database-NotionApps-7af55a9e8f33415d93fb0c39134d9a85) to get started.
{% endhint %}

#### #2 Link your database to the application

If your Users database is already linked to the application, you may move to step #3.

To link your Users database to the application,

1. Go to the "Databases" tab in the app builder.
2. Select the desired database.

<figure><img src="https://4233028229-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5ZqDXcVVffWUqEIZVhmn%2Fuploads%2F3eI78kfgahkZAYbb2oWW%2FSCR-20241206-ozdc.png?alt=media&#x26;token=23718d44-1471-4672-b782-50d0602f3f7e" alt=""><figcaption></figcaption></figure>

<figure><img src="https://4233028229-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5ZqDXcVVffWUqEIZVhmn%2Fuploads%2FuCMf7Y0FPYOKNIw6l4So%2FSCR-20241206-oynp.png?alt=media&#x26;token=794cd1c3-c066-472b-85f7-ebb39a78092a" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
Newly linked databases could take up to a minute to show up.
{% endhint %}

#### #3 Configure Users Database for the app

Now, you need to configure your application to select the database your users are pulled from.

1. Go to the "Users" tab.
2. Click on "Select Users Database".

<figure><img src="https://4233028229-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5ZqDXcVVffWUqEIZVhmn%2Fuploads%2F1FxpV3E50XnTmIWmqEG4%2FSCR-20241206-ozyg.png?alt=media&#x26;token=980fe4c1-de05-458c-a9d1-26bfb04a25c7" alt=""><figcaption></figcaption></figure>

3. Select the appropriate database, email and name properties.
4. Click on "Confirm".
5. A confirmation popup would show up, click the "Yes, go ahead" button.

<figure><img src="https://4233028229-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5ZqDXcVVffWUqEIZVhmn%2Fuploads%2FhHxD8huJnoR1cHNkBOPc%2FSCR-20241206-palz.png?alt=media&#x26;token=e5e004a2-4cc0-432f-b098-bef61f89cf6f" alt=""><figcaption></figcaption></figure>

Your application's users database is now configured. The email addresses in this database can log in to the application.

<figure><img src="https://4233028229-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5ZqDXcVVffWUqEIZVhmn%2Fuploads%2FAiZNxbYkpWZ2SCHr2VNn%2FSCR-20241206-pbpf.png?alt=media&#x26;token=1e7386b0-b4b7-42c6-9ee0-70f9fe24962a" alt=""><figcaption></figcaption></figure>

### Login Methods

NotionApps supports the following login methods:

1. Email address + Access Code
2. Login via Google (PLUS plan & above)
3. Email address + Password (PLUS plan & above, coming soon)
4. Login via Microsoft (PRO plan & above, coming soon)
5. Enterprise SSO (ENTERPRISE plan, coming soon)

### Enable Google Login Method

{% hint style="warning" %}
Google login is only available on paid plans.
{% endhint %}

To enable Google login for your application, you can do the following:

1. Go to your applications' "Users" tab.
2. Click on "Change App Privacy".

<figure><img src="https://4233028229-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5ZqDXcVVffWUqEIZVhmn%2Fuploads%2FcTgWdfxvQPil9ZnAJImb%2FSCR-20250506-piym.png?alt=media&#x26;token=419147f5-4733-422c-bfc2-9898fa4c6314" alt=""><figcaption></figcaption></figure>

3. Enable the "Google Login" toggle and click "Confirm".

<figure><img src="https://4233028229-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5ZqDXcVVffWUqEIZVhmn%2Fuploads%2FVkHsL5XpIyu308Wd4Nxn%2FSCR-20250506-pjdx.png?alt=media&#x26;token=16cdaf10-76bd-4775-a736-f4d58e76380b" alt=""><figcaption></figcaption></figure>

4. Publish your application.

<figure><img src="https://4233028229-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5ZqDXcVVffWUqEIZVhmn%2Fuploads%2FD5ZRyLhhCMVpOEXpkTuw%2FSCR-20250506-pjme.png?alt=media&#x26;token=f8ce2961-3afc-417a-ba8f-74116dc0248b" alt=""><figcaption></figcaption></figure>

Now, you can see a "Login with Google" button in your apps.

<figure><img src="https://4233028229-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5ZqDXcVVffWUqEIZVhmn%2Fuploads%2Fa4l5GzWgfvid8aphmIyn%2FSCR-20250506-pnue.png?alt=media&#x26;token=9ca5d41a-bb38-45d8-a137-b33a59c6c5a8" alt="" width="563"><figcaption></figcaption></figure>

{% hint style="info" %}
To learn how to add or remove users, please go to add-remove-users.
{% endhint %}

### When this app needs automation

Use the normal instructions on this page when users only need to view, add, or update data. Use automation when the app needs to do something after that data changes, such as submit for approval, notify a reviewer, route work to a queue, start a conversation, update workflow status, or show a recoverable failure.

Good next steps:

* Automation Overview explains the full maker journey.
* Start From a Wizard is the safest way to create a guided workflow.
* Create your first approval workflow walks through a complete approval setup.
* Native Automation Screens explains Decision, Work Queue, Notification Center, Conversation, Workflow Status, Exception Resolution, Automation Launcher, Linked App Exchange, and Operator Console.
