Forum Discussion

namiqismayil's avatar
namiqismayil
Helpful | Level 5
6 years ago
Solved

Can I create an app in the app console programatically on behalf o user?

Hi,

I am developing an outlook add-in that will have Dropbox Chooser implementation in it.

To use the Dropbox Chooser, the user needs an app key to pass to 

Dropbox.choose(options);

 My question is, to give the user a better experience, can I create the app on behalf of the user ( after authentication) and retrieve the app key to use on my code?

  • Dropbox doesn't offer a way to programmatically create new apps. You shouldn't have to do so anyway. When building an app, you as the developer should just register the app once, and then use the resulting app key in your app, for all users. The app key only identifies the app, and can be used to connect to any number of different end-users.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    Dropbox doesn't offer a way to programmatically create new apps. You shouldn't have to do so anyway. When building an app, you as the developer should just register the app once, and then use the resulting app key in your app, for all users. The app key only identifies the app, and can be used to connect to any number of different end-users.

About Discuss Dropbox Developer & API

Node avatar for Discuss Dropbox Developer & API
Make connections with other developers803 PostsLatest Activity: 6 hours ago
216 Following

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!