Use FormAssembly in Salesforce 

In this Article
Related Articles


FormAssembly for AppExchange is an app that allows you to access your FormAssembly account from within Salesforce, without requiring a separate login (this is also called Single Sign-On or SSO). Additionally, the FormAssembly Lightning Component will be added to the Experience Builder, allowing you to easily embed FormAssembly forms into your communities.

You may access the same form building and Salesforce integration capabilities by signing up directly on our main website: and selecting our Professional, Premier, or Enterprise Plan.

Getting Started

Follow the step by step guide below to begin using FormAssembly within Salesforce. Please note that FormAssembly for AppExchange can only be used between a single FormAssembly account and a single Salesforce account, and that the usernames for both must match.

You must complete this process while signed in as the administrator for your Salesforce instance.

Please answer the following questions to move through this document.
1) Would you like to be able to access FormAssembly from within your Salesforce instance?  

Yes.  Continue to question 2.
No.  You do not need to install FormAssembly for AppExchange.

Please note: Using FormAssembly for AppExchange will only change your user experience. All functionality is the same whether accessing FormAssembly through AppExchange or through (or your equivalent Enterprise URL).


2) Does your FormAssembly username exactly match your Salesforce username?

Yes.  Continue to question 3.
No.  Please contact our support team and request that your username be changed to match.  Once your username has been changed, please continue to question 3.
3) Have you already installed the FormAssembly app for AppExchange?

Yes.  Please make sure you have the most recent version by installing this package (version 2.27).  Then continue to question 4.
No.  Please install our most recent version (currently version 2.27) then continue to question 4.

4) Was the installation of the FormAssembly app for AppExchange successful?

Yes  Once the installation has completed, you will see a notification appear in Salesforce. Click on this notification to continue with the setup process.

Now click Let's Get Started to begin the setup wizard. You will be taken through the following steps:

1. Confirm Account - Confirm that you have an active FormAssembly account that can be connected to Salesforce.
2. Clarify Details - Select your current FormAssembly plan from the list. This will be setting your instance for the app, so be sure to choose the correct plan. If you have an Enterprise or Compliance Cloud account, make sure your FormAssembly instance URL is entered exactly as shown in your browser's address bar.
3. Confirm Username - Confirm your usernames match just as you did in step 2 of this document. 
4. Test Connection - This will open a new tab where you can log into FormAssembly. This is being done to check your connection and settings. If you're unable to log in, check again to make sure that your selected plan was correct and that your usernames match. 
5. Finish Setup - Your setup is now complete! You should now be able to access your FormAssembly account inside Salesforce.

No. Please make sure that you are logged in as the system administrator and try again. If you are still having difficulty, please contact our support team.
5) Do you need to setup additional Salesforce users or profiles that will be using the FormAssembly App?

Yes.  You may add in additional profiles and roles by going to your custom settings and clicking on Manage next to the FormAssembly package.

If you are an Enterprise user, these new profiles/users must all have their instance URL set to with "xxxxx" being replaced by your instance URL. Once this step is done, just complete the email verification process and you're all finished and you can now launch the FormAssembly app from the app launcher!

No.  Complete the email verification process and you're all finished!  You can now use the FormAssembly app within Salesforce by going to your app launcher.  If you do not have a FormAssembly account yet, you can sign up for one through the app.  If you do have an account, you can sign in through the app.

Using Single Sign-On Between Production and Sandbox

As noted above, SSO can only be used between a single Salesforce account and a single FormAssembly account, because the usernames must match.

Therefore, if you are planning on using SSO for both a sandbox instance of Salesforce and a production instance of Salesforce, you will need to request that your username be changed when switching between the two, in order for your FormAssembly and Salesforce username to match. Please note, if you are an enterprise user, you have the capability to change your username from the admin dashboard.

Alternatively, you can login to FormAssembly at or through your enterprise URL to avoid changing your username. You will have access to identical functionality by logging into the FormAssembly through the web, when compared to logging in through SSO in Salesforce.

Single Sign-On and SAML

SAML 2.0 is supported for Single Sign-On. You can follow the steps in this documentation when setting up SAML with Salesforce as the identity provider. 

Salesforce Winter '21 Release Notes

With the Winter '21 release to Salesforce, the following Critical Updates will be activated: "Restrict Access to @AuraEnabled Apex Methods for Guest and Portal Users Based on User Profile" and "Restrict Access to @AuraEnabled Apex Methods for Authenticated Users Based on User Profile". To ensure the continuing function of forms embedded using the FormAssembly Lightning Component for Salesforce Communities, you will need to assign specific Apex Classes to Guest and Community Users.   

Follow these instructions for adding the FormAssembly Apex Class Permissions for Users. You may follow the steps in either of the two options:

Option 1: Using Enhanced Profile Views to modify User Profiles

Please note: You will need to enable the Enhanced Profile User Interface and the Enhanced Profile List Views permissions under Setup > Users > User Management Settings to use this method.

  1. Navigate to Setup > Users > Profiles

  2. Select your Community User profile

  3. Under the App section, select Apex Class Access

  4. Select Edit

  5. Select all Available Apex Classes containing the "tfa." prefix namespace and add them to the Enabled Apex Classes (note: Apex Classes are case-sensitive and the lowercase "tfa." classes may appear towards the bottom of the list)

  6. Click Save

Option 2: Adding User Permission Set
  1. Navigate to Setup > Users > Permission Sets

  2. Create a new permission set to apply to users that need access to FormAssembly forms embedded in Salesforce Communities. 

  3. Select the newly created permission set.

  4. Under the Apps section, select Apex Class Access

  5. Click Edit.

  6. Select all Available Apex Classes containing the "tfa." prefix namespace and add them to the Enabled Apex Classes (note: Apex Classes are case-sensitive and the lowercase "tfa." classes may appear towards the bottom of the list)

  7. Click Save

  8. Click on Manage Assignments to apply the permission set to any users that need access.

Updating the AppExchange App

  1. Access the FormAssembly for AppExchange package.

  2. Click on the Get it Now button.

  3. Choose whether to install the package in Production or in Sandbox.

  1. Login to your Salesforce account.

  1. Check the terms and conditions checkbox and click Confirm and Install.

  1. Select the profile you would like to install the package for and click Upgrade.

  2. Wait for the upgrade to complete. You will receive a confirmation once done.

Terms of Service · Privacy Policy