Client library quickstart¶
This quickstart takes place in a self explaining Jupyter Notebook. The code in the notebook uses the Python/R client library for UbiOps to create a deployment. This quickstart takes place in self explaining Jupyter Notebook. One notebook is for Python and the other one is for R.
After you have made your account you need to install either the UbiOps Python client library or the UbiOps R client library.
If you want to install the Python client library, run
pip install ubiops.
If you want to install the R client library, use devtools:
install.packages("devtools") library(devtools) install_github("UbiOps/client-library-r")
Create an API token¶
Before downloading the notebook you need to create an API token. The client library uses this token to securely authenticate with UbiOps.
To create a token go to the Users & permissions page. You can find it in the side bar. On this page you can add a token by clicking the Add token button. Give your new token a name, assign the 'project-editor' role to the token and save the token in a safe place.
On this page you can add a token by clicking the Add token button. Give your new token a name, assign the 'project-editor' role to the token and save the token in safe place.
The Python notebook¶
The R notebook¶
If you finished this quickstart and like the format you can take a look at our Tutorials page. This is collections of howto's in the same format but with other examples and usecases, including more complex examples.