# Adding Museum Admin Users

### Step 1: The museum must be created in Shopify as a Collection

If the museum does not yet exist, it must be created. This can be done by a Comission Admin. Follow the instructions under "[Adding a Museum](https://comission.gitbook.io/comission/museum-application/managing-users/adding-museum-admin-users)" in the Shopify section of the docs.

### Step 2: An invite ID must exist for the museum in Firebase

<mark style="background-color:yellow;">If the museum does not currently have an invitation ID, then this must be done by a Super Admin (i.e. an Ocupop developer).</mark> In the FireStore database, in the "invites" table, there must be an invite ID created for the museum. This record must contain the MuseumName (string), and the museumId. The MuseumId must match the Shopify ID for the museum Collection. The database ID of this record will become the invitation ID.

### Step 3: Send an invitation email to the Museum Administrator

A Comission rep must then send an invitation to a museum inviting them to create an account for the Museum Application. Registration for the Museum App is open to anybody, but without a valid invitation ID, the user will not have access to any content. A link to [the registration page](https://comission-application.web.app/auth/register) should be included in the email.

> **Note:** The invitation ID that the Museum admin uses when the first log in will give them access to all information and artworks related to the corresponding museum, so it is important that the recipient receive the correct invitation ID for the museum they represent.

These are the existing invitation IDs at the time of this writing:

* The King Center: **GLrq8aoqKycDsEM5gl8t**
* The Cleveland Museum of Art: **NscvZxybqbYGmuqEJJjG**
* The Beath Museum: **PBLFVT5bSJob85eBjKEf**
* The Alexander Museum: **U9toOhTts2RDvISiPqCm**
* The Atlanta Museum: **wSmgWUNWbIeOMywkREZf**

### Step 4: The Museum Admin creates a new account

The museum navigates to the registration page at <https://comission-application.web.app/auth/register> and creates a new account using whichever method they choose *(i.e. twitter, faceboook, google or email/password)*.

Upon logging in, the application will identify that the user is not yet assigned to a museum, and prompt them to enter in an invitation ID.

The museum admin can then enter in the invitation ID that was emailed to them by the Comission rep. This will link the museum administrator up with the proper museum. All future logins will redirect directly to the appropriate museums dashboard.
