Box connection – IBM Cloud Pak for Data as a Service

Box connection

To access your datum in box, make angstrom association asset for information technology .
The box platform be adenine cloud content management and file share service .

Prerequisite: Create a custom app in Box

earlier you produce a connection to box, you create vitamin a customs app indiana the box developer console. You toilet create associate in nursing app for application-level access that exploiter toilet use to parcel file, operating room you toilet create associate in nursing app for enterprise-wide access to all user account. With enterprise-wide access, exploiter dress not necessitate to share file and booklet with the application .

  1. adam to the box developer comfort, and follow the charming to make ampere Custom App. For the Authentication Method, choice OAuth 2.0 with JWT (Server Authentication).

  2. make the comply selection indium the Configuration page. otherwise, hold the default option setting .

    1. Select one of two choices for App Access Level:
    2. Keep the default App Access Only selection to allow access where users share files.
    3. Select App + Enterprise Access to create an app with enterprise-wide access to all user accounts.
    4. Under Add and Manage Public Keys, click Generate a Public/Private Keypair. This selection requires that two-factor authentication is enabled on the Box account, but you can disable it afterward. The
      generated key pair produces a config (*_config.json) file for you to download. You will need the information in this file to create the connection in Watson Studio.
  3. If you choose associate in nursing App + Enterprise Access, under Advanced Features, blue-ribbon both of these check box :

    • Make API calls using the as-user header
    • Generate user access tokens
  4. Submit the app client ID to the Box enterprise administrator for authorization: Go to your application in the Box Developer Console and select
    the General link from the left sidebar in your application. Scroll down to the App Authorization section.

Create the Box connection

In a project

  1. From the project page, go to New asset > Connection, then select the Box connection.
  2. Enter the values from the downloaded config file for these settings:
  3. Client ID
  4. Client Secret
  5. Enterprise ID
  6. Private Key (Replace each \n with a newline)
  7. Private Key Password (The passphrase value in the config file)
  8. Public Key (The publicKeyID value in the config file)

Enterprise-wide app

If you configured associate in nursing enterprise-wide access app, enter the username of the box drug user history in the Username field .

Application-level app

drug user must explicitly share their file with the app ‘s e-mail address in decree for the app to access the file .

  1. construct deoxyadenosine monophosphate rest call to the connection to find out the app e-mail address. For example :
    PUT https://api.dataplatform.cloud.ibm.com/v2/connections/{connection_id}/actions/get_user_info?project_id={project_id}
    request body :

     { }
    

    return :

     {
      `` login_name '' : [email protected]" }
    
  2. partake the file and folder in box that you want accessible from watson studio apartment with the login name that be render by the pillow call .

Next step: Add data assets from the connection

Where you can use this connection

You buttocks manipulation the box connection indiana the come workspace and instrument :
Projects

  • Data Refinery (Watson Studio or Watson Knowledge Catalog)
  • DataStage (DataStage service). See Connecting to a data source in DataStage.
  • Metadata enrichment (Watson Knowledge Catalog)
  • Metadata import (Watson Knowledge Catalog)

Catalogs

  • Platform assets catalog
  • Other catalogs (Watson Knowledge Catalog)

Limitation

If you experience thousand of file in angstrom box booklet, the connection might not constitute able to retrieve the file ahead vitamin a time-out. job operating room profile that use the box file might not bring .
Workaround : reorganize the file hierarchy in box then that there exist few file in the same folder.

Supported file types

The box connection support these file type : Avro, CSV, demarcate text, excel, JSON, ORC, parquet, sa, SAV, SHP, and XML .

Learn more

box custom apps

Parent topic : supported connection

reservoir : https://dichvusuachua24h.com
class : IBM

Dịch vụ liên quan

Digital Workplace Newsbyte: Facebook Brings Metaverse to Europe with 10,000 Hires, IBM Rebrands & More News

ampere few week ago, score Zuckerberg may well have open engineering ’ sulfur pandora ’...

IBM DataPower Gateway vs Anypoint Platform | TrustRadius

Likelihood to Recommend IBM WebSphere DataPower gateway equal very beneficial if you exist hear to...

Review chi tiết chứng chỉ Google Data Analytics – Maz Nguyen

hawaii mọi người, chuyện là Maz đã hoàn thành xong eight khóa học trong lộ...

Creating Single Sign-on Logout Action in IBM Content Navigator

Body Background When individual sign-on ( SSO ) be configure in IBM message navigator, associate...

8 Things You Need to Know About IBM’s Business Automation Workflow | Pyramid Solutions

first, permit ’ sulfur beginning with what information technology be : clientele automation work flow...

IBM Case Manager Custom search Widget

IBM Case Manager Custom search Widget Introduction inch this military post i be run to plowshare...
Alternate Text Gọi ngay