Create and authorize an OAuth 2.0 application in the Dropbox App Console to allow the Dropbox external content connector to access your Dropbox source system.
Vorbereitungen
You need developer privileges for the Dropbox App Console.
Role required: none
Warum und wann dieser Vorgang ausgeführt wird
The Dropbox external content connector retrieves files from user folders and team folders in your Dropbox source system using the Dropbox APIs.
To allow the connector to access your Dropbox source system via the Dropbox APIs, you must configure and authorize an OAuth 2.0 application in the Dropbox App Console. Your ServiceNow AI Platformconnector admin can use settings copied from the OAuth 2.0 application to configure the Dropbox external connector for proper connection to your source system.
Prozedur
-
In the Dropbox App Console, create a new OAuth 2.0 application for the Dropbox external content connector.
-
Navigate to https://www.dropbox.com/developers/apps and log in with developer credentials.
-
Select Create app.
-
In the Choose an API step, select Scoped access.
-
In the Choose the type of access you need step, select Full Dropbox.
-
Enter a name for your new app.
As an example, you might enter ServiceNow external content connector.
-
Select Create app.
You're taken to the Settings page for your new OAuth 2.0 application.
-
Copy the app key and app secret for your new OAuth 2.0 application.
-
On the Settings screen, copy the app key value and record it in a secure location.
Wichtig: Your external content connector admin needs this app key when configuring the Dropbox external content connector.
-
To view the app secret, select Show.
-
Copy the app secret value and record it in a secure location.
Wichtig: Your external content connector admin needs this app secret when configuring the Dropbox external content connector.
-
Configure the OAuth 2 redirect URI for your new OAuth 2.0 application.
-
In the OAuth 2 entry, enter https://<instance-name>.service-now.com/oauth_redirect.do, replacing <instance-name> with the name of your ServiceNow AI Platform® instance.
As an example, you might enter https://example.service-now.com/oauth_redirect.do.
-
Select Add.
The new redirect URI appears on the page for your application.
-
Configure permissions for your new OAuth 2.0 application.
-
Navigate to the Permissions page for your new OAuth 2.0 application.
-
Select the options for each of the following scopes.
- account_info.read
- files.metadata.read
- files.content.read
- sharing.write
- sharing.read
- team_info.read
- team_data.member
- team_data.content.read
- files.team_metadata.read
- members.read
- groups.read
Hinweis: Some of these scope options may be automatically selected by default or when you select other scope options.
-
Select Submit.
A message indicates that your permissions change was successful.
Nächste Maßnahme
Provide the following items to your
ServiceNow AI Platformconnector admin:
- The app key that you copied in step 2.a.
- The app secret that you copied in step 2.c.
Your ServiceNow AI Platformconnector admin needs these items to configure a Dropbox external content connector to retrieve files in user folders, files in team folders, and security principals from your Dropbox source system.
For details on creating and configuring a Dropbox external content connector, see Create a Dropbox external content connector.