Loading
Energy & Utilities Cloud
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Set up Partner Accounts and Contractor Users

          Set up Partner Accounts and Contractor Users

          Set up Partner Accounts and Contractor Users access to the Contractor Portal.

          Set up a sample Account and Contact for a contractor. Setting up the Account and Contact sends an email to the sample contractor with the login details and account creation steps. This allows you to test the Contractor Portal login process before you publish the Portal.

          1. Create an account.
            1. From the App Launcher, search for Accounts.
            2. On the Accounts page, click New.
            3. Enter an account name, and then save your changes.
              For example, enter Salesforce Contractors.
            4. In the new account, from the Actions dropdown, select Enable As Partner.
              Note
              Note On the Account page of the new account, from the address bar of the browser, copy the alphanumeric code after lightning/r/Account/ to your notepad. This is the account ID for the contractor account.

              Account ID

          2. Create a contact.
            1. From the App Launcher, search for Contacts.
            2. On the Contacts page, click New.
            3. Enter the details of the contract.
              For example, in First Name, enter Astro, and in Last Name, enter Nomical.

              The Email account receives steps to create a password and get started. For demo purposes, you can enter your own email.

            4. On the New Contact page, select the Account Name created in the previous step, then save your changes.
              For example, click Salesforce Contractors.
            5. In the newl contact, from the Actions dropdown, select Enable As Partner.
              The Users page opens.
            6. Click New User.
            7. Create a user with Partner Community license and Energy Utilities Contractor User profile.
              You can name it Energy Utilities Contractor User.
            8. In the Permission Set Assignments section, click Edit Assignments.
            9. Assign these permission sets:
              • Contractor Energy Utility Program

              • OmniStudio User

            10. Save your changes.
              Note
              Note On the Contact page of the new contact, from the address bar of the browser, copy the alphanumeric code after lightning/r/Account/ to your notepad. This is the contact ID for the contractor contact.

              Contact ID

              The contractor receives an email with the steps to create a password and set up their new account. If you used your own email in Step 2.c, the email is sent to your inbox.
          3. Add a role to the contact from Developer Console. See Execute a SOQL Query or SOSL Search.
            1. Open the Developer Console.
            2. Run this query:
              select id, accountid, contactid, roles from AccountContactRelation where accountid = '<AccountID>' and contactid = '<ContactId>'
              <AccountID> is the alphanumeric code saved from Step 1.d, and <ContactID> is the alphanumeric code saved from Step 2.j.
            3. In the Roles column of the query result, enter Primary Contact, then click Save Rows.
          4. Log in as the contractor user.
            1. From the App Launcher, search for Contacts.
            2. On the Contacts page, click the new contact.
              For example, click Astro Nomical.
            3. From the dropdown, select Log in to Experience as User.
           
          Loading
          Salesforce Help | Article