-
Notifications
You must be signed in to change notification settings - Fork 4
Creating a Dropbox Access Token
kbremner edited this page Sep 11, 2014
·
1 revision
Dropbox allows an access token to be generated for an account to provide access to the API without having to go through the full OAuth flow. The grunt-dropbox task uses a token to access the API, so this page outlines how to generate that token.
- Go to https://www.dropbox.com/developers/apps and sign in with your dropbox account
- Click the
create app
button in the top right hand corner of the screen - Choose
Dropbox API app
- Choose
Files and datastores
- Choose
Yes
for limiting access to only files created by the application (this is optional, either choice will work) - Enter a suitable name (i.e.
For Grunt
) and clickCreate app
- Go to the settings page for the new application, under the
App Console
section - On the settings page for the new application, scroll down and click the
generate token
button - Copy the generated token in to a suitable location so it can be used in the task
The generated access token should be kept secret, i.e. not committed to a repository. If using Travis CI, it is recommended that you store it in a [secure environment variable](http://docs.travis-ci.com/user/environment-variables/#sts=Secure Variables)