---
schema_version: "1"
id: 1a38587babad0fd95f4abb6bdc08f249180de76fda512e448bccbdb38575ae0c
title: Set Up Your Environment
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/service-cloud/salesforce-feedback-management-dev-guide/guides/feedback-management/surveys-set-up-your-environment.md
canonical_url: https://developer.salesforce.com/docs/service/salesforce-feedback-management-dev-guide/guide/surveys-set-up-your-environment.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 3f3a74fbe62952d4c22ee82852b09b3098e5c397d61b1be0f9b321312e224316
products:
  - Salesforce Feedback Management Developer Guide
  - Service Cloud Developer Content
---

# 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](https://help.salesforce.com/s/articleView?id=xcloud.overview_edition_lex_only.htm&type=5)) 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](https://help.salesforce.com/s/articleView?id=xcloud.concept_create_send_permission.htm&type=5)|

-   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](https://help.salesforce.com/s/articleView?id=xcloud.task_enable_surveys.htm&type=5).

-   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](https://help.salesforce.com/s/articleView?id=xcloud.named_credentials_about.htm&type=5).

-   Configure the sample LWCs that are available with the [package](https://resources.docs.salesforce.com/rel1/doc/en-us/static/misc/Survey_Sample_App.zip) 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](https://developer.salesforce.com/docs/service/salesforce-feedback-management-dev-guide/guide/salesforce-surveys-lightning-web-components-overview.md).


    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](https://developer.salesforce.com/docs/component-library/documentation/en/lwc/lwc.get_started_sfdx_deploy).

    3.  Configure the LWCs provided with the package for Lightning App Builder. See [Configure a Component for Lightning App Builder](https://developer.salesforce.com/docs/component-library/documentation/en/lwc/lwc.use_config_for_app_builder).


**See Also**  


-   [Salesforce Help: Feedback Management Licenses](https://help.salesforce.com/s/articleView?id=xcloud.concept_survey_licenses.htm&type=5)

