activities
latest
false
UiPath logo, featuring letters U and I in white
Classic Integrations Activities
Last updated Nov 8, 2024

Setup

Introduction

To successfully establish a connection and send requests to the Box API, the Box Scope activity must complete authentication to a Custom App using one of the supported JWT authentication (additional authentication methods will be supported in the future).

To give the Box Scope activity the ability to authenticate and to enable the other activities to successfully send requests to the Box API, you must complete the following steps:

  1. Create a Custom App.

  2. Build your project.



Steps

1. Create a Custom App (JWT)

To create a JWT authentication Custom App, follow the Setup with JWT steps in the Box documentation.

The following input properties are required in the Box Scope activity:

  • Config File Content or Config File Path

To get the Config File Content and Config File Path values, follow the generate a keypair steps in the Box documentation.

After downloading the JSON configuration file, you can either save the file to a local folder and enter that location in the Config File Path property, or copy contents to enter it as a String in the Config File Content.

As a quick reference, below are the steps we followed when developing and testing the Box activities.

Note: The steps below are for example purposes only. For the latest setup steps and more detailed information about the configuration settings and, refer to the referenced Box documentation.
  1. Sign in to https://app.box.com/.
  2. Go to the Dev Console.
  3. Click Create New App.



  4. Select Custom App or Enterprise Integration.



  5. Select OAuth 2.0 with JWT (Server Authentication).



  6. Enter a name for your app and click Create App.
  7. After your app is created, click View Your App (you don't need to copy the developer token).



  8. In your app's Configuration settings, under Advanced Features, ensure both Perform Actions as Users and Generate User Access Tokens are enabled.
  9. Under Add and Manage Public Keys, click Generate a Public/Private Keypair and save the JSON configuration file locally.

    • This step requires the app to have multi-factor authentication enabled.
  10. After downloading the file, note its location as you'll enter this value in the File Path* property of the Box Scope activity.



  11. After completing your Configuration settings, go to General and click Submit for Authorization.
  • The application administrator (this may be you) must then authorize the application by following the instructions in the email sent from Box.



2. Build your project
  1. Create a new automation project.

    1. Open UiPath Studio.
    2. Under New Project, click Process (this opens a New Blank Process window).
    3. Enter a project Name, Location, and Description.
    4. Click Create.
  2. Install the UiPath.Box.Activities package.

    1. In the Design ribbon, click Manage Packages (this opens the Manage Packages window).
    2. Under All Packages, click Connect
    3. In the Search bar, enter Box.
    4. Click, install and accept the license for the UiPath.Box.Activities.

      • For more information about Uipath Studio packages, see Managing Packages in the Studio Guide.

You're done!

Now that you have completed the setup, you can start adding the Box activities to your project.

Next steps

To learn more about the Box activities (including example property inputs/outputs), see the Activities page for a complete activity list and links to the activity detail pages.

  • Introduction
  • Steps
  • Next steps

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.