Set Up Your Environment

Get your Salesforce environment ready before you create your first in-app survey.

To create an in-app survey, set up your environment with these prerequisites.

Required Editions
Available in: Salesforce Classic (not available in all orgs) and Lightning Experience
Available in: Developer, Enterprise, and Unlimited Editions
Available with the Feedback Management - Growth or Feedback Management - Starter license
User Permissions Needed
To create a basic survey:Permissions to create surveys
  • Enable users to create surveys and send them to the participants by enabling the Surveys feature in Salesforce Setup. See Enable Surveys and Configure Survey Settings.

  • Create a named credential with a callout endpoint by using your credentials and then use it in an Apex class that makes Connect REST API calls by using SFM APIs. See Named Credentials as Callout Endpoints.

  • Configure the sample LWCs that are available with the package along with an Apex class to integrate the LWCs. Embed the LWCs in Salesforce Lightning pages, such as the home page or record pages to help the participants respond to the survey in Salesforce. See LWCs for Surveys.

    1. Specify a valid SurveyId value and the details of named credentials in the SurveyApi Apex class (SurveyApi.cls file) from the package.

    2. Deploy your LWCs in Salesforce. See Deploy LWCs in Salesforce.

    3. Configure the LWCs provided with the package for Lightning App Builder. See Configure a Component for Lightning App Builder.

See Also