Creating a Connector App with fs-connector
1. Install the fs-connector Package
First, install the fs-connector package globally using npm:
npm install https://dqphs0heq2n9h.cloudfront.net/app-ecosystem/fs-connector.tgz -g
2. Create a Working Folder for Your App
Navigate to your working directory and create a new folder for your app. Then, change into this new directory:
mkdir SAPSuccessFactors && cd SAPSuccessFactors
3. Create the App Using the fs-connector
Generate a new app using the fs-connector command:
fs-connector create
When prompted, select the your_first_connector_app template if your app has both a widget and background sync use case. If your app only has a background sync use case, select workato_background_connector.
This will initialize your app based on the provided template.
4. Update Connector Name
To ensure the connector name is correct for your integration, you need to make a small modification in the code. Search for the following line:
connection.provider.includes('SAPSuccessFactors')
Replace 'SAPSuccessFactors' with the appropriate connector SDK name as specified by Workato.
By following these steps, you should be able to set up your app using the fs-connector successfully.