Get Integration
To get information about the integration and its connection, do the following:To understand the state of the connection for a given integration, look at the following fields to display in the UI:
Re-connect and Disconnect
You can use the following code to re-connect an integration if it was disconnected or if the user wants to re-connect for any other reason:Or a custom version of this UI: Custom Connection UI. You can disconnect the integration using the following code:
Manage Tenant-level Elements
To know which Flows, Actions, Data Sources, or Field Mappings are configured for the current integration, you can get their list this way:Then you can use the corresponding elements API and UI to manage them: