Programatically / silent install Catalog App Integration

I wanted to know if there is a way to programatically / silent install an Okta Catalog Application using the Okta API or CLI?

Example:

I’d want to install Zendesk App with configuration values I’d provide so I could I could do a silent install.

You can create an instance of an Okta Integration Network application using the Applications API. We’re working on updating our API docs to cover our most popular OIN apps and you can find examples for what this request payload looks like for a select few apps in our docs.

For example, this is what the request body looks like for Slack:

{
  "name": "slack",
  "label": "Sample Slack App",
  "signOnMode": "SAML_2_0",
  "settings": {
    "app": {
      "domain": "my-company-domain"
    }
  }
}

For any other OIN apps, right now the best way to model what this payload will look like is to add the app to your org via the UI and then make a GET to /api/v1/apps to view the app instance variables for each OIN app.

Using that strategy, here is what I was able to get working for Zendesk:

{
  "name": "zendesk",
  "label": "Sample Zendesk App",
  "signOnMode": "SAML_2_0",
  "settings": {
    "app": {
      "companySubDomain": "test",
      "adminUsername": "admin@example.com",
      "adminPassword": "fakePassword",
      "rolesToImport": "all"
    }
  }
}
1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.