Manager End-user configurations
Now, since the user has successfully connected with the enabled application, he is now redirected back to your integrations page. You can now use the Cobalt API or SDK to find an existing config or create a new config for the Linked Account.
Create Config
You can create config for the Linked Account through the Cobalt Connect SDKs or using the APIs.
You can use the .config() method or the Create Config API which returns the specified config or creates one if it doesn’t exist for the Linked Account.
- Request -
Application Slug
andlinked_account_id
are mandatory fields for the request. You can request in the following way:
- Response - The method will return a JSON Object as response containing the information about config of the application for the Linked Account and provides you with all the published workflows and settings input for the user required to execute the orchestration.
Update Config
The user can now enable the workflows, enter data for the settings and map fields. These updates to the config can be made using the SDK or the APIs.
- Request - You can use the .updateconfig() method or the Update Config API which updates the specified config of a Linked Account. You can also enable or disable the Workflows of a user by updating the config.
- Response - In response, you get the updated config information for the application.
Checkpoint + Next Step
After this step, you should know how to manage config of a user. You are now ready to create Workflows for your users in the integration.