# Configure Dropbox Web API Service

## Content



To configure Dropbox Web API Service and perform different operations, follow these steps:

1.  [Configure Storage Connection String](/componentone/docs/webapi/online-webapicore/Services/cloud-services/configuredropboxservice#step-1-configure-storage-connection-string)
2.  [Register the Cloud Service](/componentone/docs/webapi/online-webapicore/Services/cloud-services/configuredropboxservice#step-2-register-the-cloud-service)
3.  [Perform Operations](/componentone/docs/webapi/online-webapicore/Services/cloud-services/configuredropboxservice#step-3-perform-operations)

### Step 1: Configure Storage Connection String

2.  Create a DropBox Application to make API requests. For creating the Dropbox app, see [Dropbox Developers Apps](https://www.dropbox.com/login?cont=https%3A%2F%2Fwww.dropbox.com%2Fdevelopers%2Fapps).
3.  Obtain an access token. For detailed information on how to obtain access token, see [Obtaining an access token](https://github.com/dropbox/dropbox-sdk-dotnet#obtaining-an-access-token).

### Step 2: Register the Cloud Service

1.  Create a new C1 Web API Application and make sure the following references are added to the application:
    *   C1.AspNetCore.Api.dll
    *   C1.AspNetCore.Api.Cloud.dll
    *   Dropbox.Api.dll
2.  Add StorageProvider in Startup.cs file for registering the Dropbox cloud service using the following code:
    
    ```CODE
    app.UseStorageProviders().AddDropBoxStorage("DropBox", “Dropbox App access token”, “Your application name”);
    ```

### Step 3: Perform Operations

You can choose to perform various operations, such as listing data, uploading, deleting or downloading a file, after registering the cloud service. To understand how to perform these operations, see [Perform Operations](/componentone/docs/webapi/online-webapicore/Services/cloud-services/performoperations).