Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  How to configure credentials of a integration using terraform or API

    Posted 3 days ago

    I need to configure the credentials (client_id and client_secret) for an integration that has already been created in Genesys Cloud. I plan to automate this, so I need to use a tool such as Terraform or an API call.


    #CXasCode
    #Integrations

    ------------------------------
    Jesus Garces
    NA
    ------------------------------


  • 2.  RE: How to configure credentials of a integration using terraform or API

    Posted 2 days ago

    Hi Jesus,

    If you're using Terraform, unfortunately, you cannot modify your integration to configure the credentials if it has already been created. What you can do is create it in your Terraform project with the resource genesyscloud_integration and provide the credentials with the resource genesyscloud_integration_credential.

    If you want to modify via API, you can use the PATCH /api/v2/integrations/{integrationId} to modify the integration in your custom solution and configure the credentials. The rest of the API calls that you might need are also there.

    Hope this helps.



    ------------------------------
    Ralph John Quiaoit
    Software Engineer (Developer Evangelist)
    ralph_john.quiaoit@genesys.com
    ------------------------------