## 5.6.4.2.1 Create an SAP SuccessFactors Extensibility Service Instance in the Cloud Foundry Environment
To enable the integration of your extension applications with the SAP SuccessFactors system you have registered in the global account in SAP BTP, you first need to create a service instance of the corresponding service.
## Prerequisites
- You have registered an SAP SuccessFactors system. See Register an SAP SuccessFactors System in a Global Account in SAP BTP [page 2061].
- Before creating an SAP SuccessFactors Extensibility service instance in the Cloud Foundry environment, see Create a Service Instance to Consume the SAP SuccessFactors HXM Suite OData API [page 2180].
- Have enabled Cloud Foundry environment for your subaccount. See Enable Environment or Create Environment Instance [page 2255].
- Have configured the entitlements to the SAP SuccessFactors Extensibility service. See Configure the Entitlements for the SAP SuccessFactors Extensibility Service [page 2179].
## Context
In the Cloud Foundry environment, you consume services by creating a service instance. Service instances are created using a specific service plan. The services are offered in the Service Marketplace, from which you can create service instances to provision the reserved resources.
To allow applications running on SAP BTP to consume SAP SuccessFactors HXM Suite OData APIs, you need to create a service instance of the SAP SuccessFactors Extensibility service using the api-access service plan.
You create the service instance in a space of your subaccount. When creating the service instance, you configure the authentication type for the communication by specifying the required configurations in a JSON format. SAP BTP supports the following authentication scenarios for SAP SuccessFactors:
- OData access with OAuth 2.0 SAML bearer assertion To use this authentication type, you must protect your application. See Authentication for Applications.
- OData access with OAuth 2.0 SAML bearer assertion with technical user
During the creation of the service instance, a destination on a subaccount level with the same name as the service instance name is automatically created in this subaccount. It contains all instance binding properties which are sufficient to establish connection to the SAP SuccessFactors system.
##  Note
Make sure that you don't already have a destination with the same name as the service instance. If you do, you will not be able to create the service instance.
## Procedure
1. In the SAP BTP cockpit, navigate to the subaccount in which you want to create a service instance.
2. In the navigation area, choose Services Service Marketplace .
All services available to you appear.
3. To enable the integration with an SAP SuccessFactors system that you have registered in SAP BTP global account, choose SAP SuccessFactors Extensibility .
4. In the SAP SuccessFactors Extensibility page, choose Create .
5. In the New Instance or Subscription wizard:
- a. In the Service dropdown list, ensure you have selected the SAP SuccessFactors Extensibility service.
- b. In the Plan dropdown list, select the api-access service plan.
- c. In the Runtime Environment dropdown list, select Cloud Foundry .
- d. In the Space dropdown list, select your space. If you haven't create a space yet, you can do it at this point.
- e. In the System Name dropdown list, select the SAP SuccessFactors system you have registered.
- f. In the Instance Name field, enter a name for your instance. Choose Next .
- g. (Optional) To define a technical user the access to the SAP SuccessFactors HXM Suite API, specify a JSON file or specify parameters in the JSON format. If you decide to add a technical user later on, you have to delete this service instance and create it again. Choose Next .
For more information about the structure of the JSON file, see API Access Configuration JSON File [page 2185].
- h. Choose Create .
## Results
After you have created the service instance:
- The newly created instance appears in the list of instances in the Instance and Subscriptions page.
- An HTTP destination on a subaccount level with the same name as the service instance name is automatically generated in this subaccount.
Alternatively, you can use the Cloud Foundry Command Line Interface (cf CLI) to create the service instance using the technical name of the SAP SuccessFactors Extensibility service which is sap-successfactorsextensibility .
For more information, see Create Service Instances Using the Cloud Foundry Command Line Interface.
##  Note
You can use the cf CLI to troubleshoot if the creation of the service instance fails. To do that, use this command in the cf CLI:
cf service &lt;service\_instance\_name&gt;
## Next Steps
After creating the SAP SuccessFactors Extensibility service instance, you have the following options for configuring the connectivity for your extension application:
- Bind the instance to an application, and it will be assigned an access URL and credentials to the corresponding API. For more information about binding applications to service instances, see Binding Service Instances to Applications.
- Consume the automatically generated destination.
To consume the destination, you use the Destination service. You can either consume the Destination service directly, or configure the application router to consume it.
##  Note
The name of the destination is the same as the name of the service instance you have created.
- For more information about consuming the destination service using the application router, see Application Routes and Destinations.
- For more information about consuming the destination service directly, see Consuming the Destination Service (Cloud Foundry Environment).