Accounts & login

The Auth plugin lets visitors create accounts on your site and sign in — with email and password, or with one tap via Google. Accounts belong to your site (people register with you, not with startupjs.ai), and they're what turn anonymous visitors into members with profiles, order histories and private data.

What you can build with it

Ask the AI Builder

"Add a login page and a members-only area."

"Make the checkout require an account."

"Add a profile page where members can edit their name."

"Show each signed-in user only their own bookings."

A detail that quietly matters: things a visitor does before signing up — items in a cart, saved favorites — follow them into their new account instead of vanishing.

Turning it on

On your project's page, open the Auth card and pick a mode:

  • Built-in — email/password and Google sign-in both work immediately, zero setup. Google's consent screen shows startupjs.ai as the app name.
  • Custom — identical features, but Google's consent screen shows your app's name. Takes about ten minutes with a free Google account (walkthrough below).

Built-in is the right start. Switching to Custom later changes nothing for existing accounts.

Using your own Google app (Custom mode)

The steps below are the same ones shown on the plugin's configuration page in your dashboard — that page is where "the fields here" live.

Everything from Built-in keeps working — but Google's consent screen shows your app name instead of startupjs.ai. Create your own (free) Google OAuth client:

  1. Open Google Cloud Console and create a project (any name — your users never see the project name).
  2. Go to APIs & Services → OAuth consent screen → choose External → fill in your app name, support email and developer email. Save.
  3. Go to APIs & Services → CredentialsCreate credentials → OAuth client ID → application type Web application.
  4. Under Authorized redirect URIs add: https://<your-site-domain>/api/user-auth/google/callback
  5. Click Create, then copy the Client ID and Client Secret into the fields here.

Good to know

  • Passwords are stored securely using standard one-way protection — neither you nor the AI can ever read them.
  • With the Emails plugin also on, registration automatically sends a verification email, and "Forgot password?" works out of the box.
  • You stay in control of your members' data — it lives in your site's collections, under per-visitor access rules.