Skip to content
Log in

Invite customers to create an account

On this page

There are four ways someone can be given access to an account with your store:

  1. Request the user sets a password after checkout.
  2. Send an invite via email to a contact in Salesforce.
  3. Use the store’s registration form.
  4. Pre-populate contacts in bulk for self-serve password reset (recommended for large migrations).

Only one of these methods can be used per contact.

Method 1: Sign up on checkout

When a customer completes a purchase on your store, you can offer an option for them to set a password and open an ‘account’. This allows them to check on their orders, manage details, etc.

Set a Password

Method 2: Send an email invitation

Select the Send Invitation option on the StoreConnect contact record. When selected, accounts without a Username are automatically sent an invitation email. This may take a couple of minutes to send and will show in the activities section once sent.

Send Invitation

Tip: If you ever need to access the invite link that was sent, you can open the email in the contact’s Activities section. The link will be in there.

Confirm Your Email

Track the invitation status

  1. Open the contact in SotreConnect
  2. Check if the Invitation Accepted Date (s_c__invitation_accepted_at__c) field is populated. If this field is blank, the invitation has not yet been accepted.

Method 3: Store registration form

All stores have a registration page which can be found using the following URL: https://[yourstoredomain.com]/accounts/register. You can embed this link as part of checkout.

Once the form is filled in., customers receive an email asking them to verify their email address. This is required to complete account creation.

Register for an Account

Method 4: Bulk registration

When registering a large number of existing contacts, sending individual invitation emails can exhaust daily email limits. Instead, pre-populate the SCID and Username fields on contacts in bulk, then let customers self-serve by requesting a password reset when they first visit the store.

  1. Export your contacts from Salesforce into a CSV.
  2. For each contact, populate:
    • SCID (s_c__sc_id__c) — a unique UUID for each contact.
    • Username (s_c__username__c) — the contact’s email address.
  3. Import the CSV via Dataloader or a similar tool. Contacts sync to your store automatically.

Monitor registrations:

To confirm the sync has completed, open Sync Summaries in the StoreConnect Console and check that the SC Row Count for Contact matches the number of contacts you expect to have synced. Sync Summaries update every three minutes, so allow a short time after the import before checking.

Communicate to customers:

  1. Notify customers that they can access the store by visiting the sign-in page and clicking Forgot your password?.
  2. When a customer requests a reset, their login is created and confirmed automatically, and a reset email is sent.
  3. The customer sets their password and gains access to complete registration.

See What records sync to your website for tools and Apex code to generate SCIDs in bulk.

:::tip This approach distributes email sending over time as customers need access, rather than triggering all invitation emails at once. It also means customers only receive an email when they actually need it. :::

Review the sign-in flow

When launching a migrated site, customers will arrive at the sign-in page not knowing whether to log in, reset their password, or register. Since passwords cannot be migrated from another platform, consider adding a temporary message to the sign-in page template (pages/auth/login) that explains their options clearly.

For example:

Already have an account with us? Your account details have been carried over. Click Forgot your password? below to set a new password and access your account.

New to our store? Create an account using the registration link below.

To add this message, edit the pages/auth/login template in your store theme. See Theme templates for how to locate and edit auth page templates. Remove or update the message once the initial migration period is over.

Reset a password

You can reset a user password from their contact record, which forces them to set one up on sign in. Customers can also initiate a reset from the sign in page. Resetting a password will set a password, if one was never previously set.

Set session timeout

A session timeout is the length of time a user remains signed in to an account when there is no activity. By default, sessions expire after 30 minutes of no activity or 60 minutes after log in.

You can modify these defaults by creating Store Variables and setting your own values:

Name Key Value
Inactivity Timeout session.inactivity_timeout_minutes 30
Absolute Timeout session.absolute_timeout_minutes 60

Tip: Longer sessions can diminish security for a customer account. Depending on your business, consider if shorter sessions might be appropriate.

Troubleshooting

If you have any issues inviting a customer:

  1. Check that a username does not already exist for the contact. If it does exist, use the Reset Password feature instead.
  2. Check that there are no duplicate contacts with the same email address.
  3. Check that the email address has not bounced, clear any soft / hard bounces if needed - See: Salesforce - Managing Bounce Data

Was this article helpful?

Was this article helpful?