CollabPortals

Creating a Portal

Step-by-step guide to creating a new portal in CollabPortals, from selecting a base to configuring settings.

Overview

A portal is a branded website on top of one Airtable base. Each portal has its own URL, its own permissions and its own look. Create one portal per audience: a client portal and a supplier portal can share a base and still show different things.

Before you start, connect your Airtable account and make sure your base has a user table with one row and one email address per person.

Creating a New Portal

  1. 1

    Pick an Airtable base

    On your admin home, find the base under Choose your base to get started (or Start a new portal, once you have portals) and click Build portal beside it. Bases that already have a portal are listed last, in alphabetical order, marked Has a portal, so the ones you have not built on yet come first. The form that opens has the base already chosen. You can also click Add Portal in the admin sidebar and pick the base from the Airtable Base list at the top. Team members with the editor role cannot create portals, so they do not see these buttons.

    Only bases you gave CollabPortals access to are listed. If one is missing, click Can't see a base? Grant access to more bases. To try CollabPortals before using a base of your own, click No suitable base? Start from an example.

    The Start a new portal list on the admin home, with a Build portal button beside each Airtable base and links to show all bases, start from an example, or grant access to more bases
    Click Build portal beside the base you want.
  2. 2

    Name your portal

    Portal Name, at the top of the form, starts as the name of your base. Change it if you like. Your users see it as the portal's title, and CollabPortals builds the portal's web address from it.

  3. 3

    Check the user table

    Once a base is picked, the rest of the form opens up. User Table is the table that holds the people who will sign in, such as "Contacts", "Users", "Clients" or "Team Members". CollabPortals uses it to identify who is signing in, and to work out which records are theirs.

    When the answer is clear, CollabPortals fills it in and says why, for example "We picked Users because it's the only table with an email field." Change it if your users are in another table. If it finds no table of people with an email address, it says so and links to how to set up a user table. Add one in Airtable, then click I've added one, check again.

  4. 4

    Check the email field

    User Email Field is the field on your user table that holds each person's email address, and it is filled in for you when the choice is clear. When someone signs in, CollabPortals looks for their email in this field.

    The create form for the Client Portals Demo base, with the portal name, user table and email field filled in, and a note saying Contacts was picked because it is the only table with an email field
    CollabPortals picks the user table and email field when it can, and says why.
  5. 5

    Click Create portal

    Leave Role Field (Optional) set to None unless different people need different access. You can set it later. See Role-Based Access Control.

    Click Create portal. It stays greyed out until the base, user table, email field and name are all set. The portal is live straight away, and the form shows Your portal is live:

    • The portal's address, with a button to copy it
    • Who can log in, for example "2 people in Contacts, using the address in Email". If no row in the user table has an email yet, it warns you, since nobody can sign in until one does
    • What they'll see: each table they can reach, whether they see only their own records or every record, and what they can do with them. Each person can also see and edit their own record in the user table
    • Preview as, which opens the portal signed in as one of your users, so you see exactly what they see

    Click Customise to open the portal in the editor.

The portal's address is built from its name plus six random characters, so every URL is unique even when two portals share a name. For example, "Client Project Tracker" becomes client-project-tracker-abc123.

What a New Portal Starts With

Every table in your base gets a page in the editor's page list:

  • Tables linked to your user table start switched on. Each user sees only the records linked to them, and can create, edit and delete records there.
  • Other tables start switched off, because switching one on shows every record to everyone. Click Why are some pages switched off? in the editor for a reminder.
  • Your user table is always on, as each user's own Profile page.
The editor's page list for a new portal: the user table and linked tables switched on, two unlinked tables switched off, and the Why are some pages switched off? link
Tables linked to your user table start on. The others start off, shown with a grey dot.

Most fields start visible, and editable where Airtable allows it. Go through each page you switched on before you share the link, and turn off anything users should not see or change.

Understanding the User Table

The user table does two jobs:

  1. Sign-in. Only emails in its email field can sign in, unless you turn on self-registration.
  2. Ownership. A table that links to the user table can show each person only the records that point at them. You can switch any table to show everyone the same records instead. See Record Ownership.

Example Setup

Imagine a base with three tables:

TablePurpose
ContactsUser table, with Name, Email and Company fields
ProjectsEach project is linked to a Contact
TasksEach task is linked to a Project

When a user signs in, they see only the Projects linked to their Contact. Tasks is different: it links to Projects, not to Contacts, so a separate Tasks page has no way to tell whose task is whose. Show tasks as a tab inside each project, or give Tasks its own path to your users. Setting Up Your Airtable Base covers both.

By default, only people who already have a row in the user table can sign in. To let people create their own row from the login screen, turn on self-registration. See Portal User Authentication.

After Creating a Portal

Customise opens the portal in the editor. From here you can:

To check what a user will see, click Preview at the top of the editor, pick a user from your user table, and click Preview Portal. You enter the portal signed in as them.

The Preview Portal dialog with a demo user selected under Preview User and the Preview Portal button
Preview the portal as any user in your user table before you share it.

Duplicating a Portal

To build a second portal like one you already have, for example the same tables for a different audience, duplicate it instead of starting again. Open the portal and click Duplicate at the top of the editor, or use the ... menu beside the portal's name in the sidebar.

The Duplicate portal confirmation dialog
Duplicate copies pages, roles and permissions onto a new portal on the same base.

The copy has the original's name with "(copy)" on the end, for example "Client Portal (copy)", and opens in the editor. It uses the same Airtable base and keeps everything you configured:

  • Pages, including embed pages and custom page addresses
  • Roles, and each role's table and field permissions
  • Record filters, related tabs, views, labels and the landing page
  • Logo, favicon, colors and description
  • Login settings and the login email

A few things are left out, because they belong to the original portal:

  • Custom domain. The copy starts on its own collabportals.com address. You can add a different domain to it.
  • Co-editors. Share the copy with your team from its Share tab.
  • Unsaved changes. Save the original first if you want them in the copy.

A copy also starts private and with tracking off, even if the original is public, so an experiment is never published or counted by accident. Switch them on in the copy when you want them.

The copy has its own address, so the original's users and links are not affected. Changing or deleting one portal never changes the other.

Duplicating copies your settings, not your users. Both portals sign people in from the same user table, so anyone who can log in to the original can log in to the copy. Use roles or a different user table if the second audience should be kept apart.

Editors cannot duplicate portals. A team member with the creator role can duplicate a portal if they have access to its Airtable base.

Tips

  • One base per portal - Each portal connects to a single Airtable base. For a second layout of the same table, add a page. For different permissions on the same data, use roles or create another portal.
  • Fill your user table first - Make sure everyone who needs access has a row before you share the portal.
  • Decide who sees what - A table shows each user only their own records when it links to the user table, directly or through a lookup you choose. A table with no link shows every record to everyone who can view it. See Record Ownership.

Next Steps