Skip to main content
Question

How to use Box internally in my organization

  • May 21, 2025
  • 1 reply
  • 14 views

Forum|alt.badge.img

Hello Team

I am a developer for one of the project team @ IBM and would like to utilize box as a data repository of my project such as file system having files and attachments.

 I wanted to access the Box repository from my development server environment through Java API where I need to dynamically copy or update the data to the repository from application. so what and all steps I have to follow for authentication e.t.c . please advice.

Thanks.

1 reply

Forum|alt.badge.img

Hi Sravan,

 

Thanks for developing on Box platform. 

 

There's mulitple ways to authenticate on Box, please read https://docs.box.com/docs/oauth-20

 

The easiest way to get started might be to download one of our SDK's https://docs.box.com/page/sdks and simply enter your credentials. 

 

Once you're logged in you can follow our API docs for how to move/copy data detailed here: https://docs.box.com/reference#copy-a-file

 

Here's the Java code: 

package com.box.sdk

public class BoxFile

public BoxFile.Info copy(BoxFolder destination)
  
public BoxFile.Info copy(BoxFolder destination, String newName)

 

Let us know if there's anything specific we can help with.