OneCloud - DOMO REST API

I am trying to configure a connection between the application OneCloud and DOMO. OneCloud has a built in DOMO connector but the connection is still not working.

It only asks for client ID and client secret. I have seen a ton of posts about a token but I can't figure out how to get one or if I need one.

Any help would be greatly appreciated.

Tagged:

Answers

  • You'll need a client ID and client secret which you generate from https://developer.domo.com/manage-clients. You'll define the specific scopes needed when creating your client. Once you have those you can then pass those to OneCloud to finish your connection

    **Was this post helpful? Click Agree or Like below**
    **Did this solve your problem? Accept it as a solution!**
  • Jessica
    Jessica Contributor

    so I have completed the client ID and secret but in reading the instructions and I set up an access token but I don't understand where I am supposed to copy the token.

    The set up in OneCloud only shows that it needs Client ID and secret. When I set up the access token I linked it to our service user account. I named it OneCloud but there was really no information that ties them together, except the Client ID and secret.

    There are no notes to explain this process.


  • Jessica
    Jessica Contributor

    so reading more and more, let me be clearer the screen shot below is where I don't know what to do

    I thought I needed to type the request in the cmd prompt on my c drive? but I am not getting the expected return response pictured below

    Also for the request I made the following updates to the command line

    • removed the beginning $ sign
    • XXs are Client ID and Secret (removed for post)
    • scope of this connection is just data

    curl -v -u XXXXXX:XXXXXX "https://XXX.domo.com/oauth/token?grant_type=client_credentials&scope=data"

    The return response from the knowledge page for what I am supposed to get back is here but see below, I copied my actual return response in notepad and blurred out confidential info but I'm not getting anything that resembles the example


    Where do I go from here

  • it appears you only need the client id and secret. Just put those into your connector and it should handle the part about generating an access token

    **Was this post helpful? Click Agree or Like below**
    **Did this solve your problem? Accept it as a solution!**
  • Jessica
    Jessica Contributor

    this is still not working, part of config is Host Domain

    do I include https://company.domo.com

    or just

    company.domo.com

    honestly I have tried both and had a call with DOMO to review config and this is still not working

  • Because it's using a client ID and Secret and using the public API endpoints you'll likely need to set host domain to be api.domo.com

    **Was this post helpful? Click Agree or Like below**
    **Did this solve your problem? Accept it as a solution!**