Instructions: install the following libraries https://bitbucket.org/smartproject/oauth-2.0/wiki/Home --> OAUTH2/smartproject http://xstream.codehaus.org/ --> Xstream http://hc.apache.org/ --> Apache httpClient get Pom.xml and the folders OAuth and Examples in your IDE then you should be able to run the 2 examples in the fileAdminProject (CreateFile and getWorkspaces).