Hi
@Bashiru Akintayo,
There are two ways that I know of (that is for Watson Studio Cloud, i.e. CloudPak for Data on Public Cloud)
- If you have a data asset in the project, create a notebook, open the file pane (with the 1001 icon top right), then from one of the assets, select 'Insert to Code->Credentials' One of the items in the dictionary will be the bucket name.
- You can also use the
project-lib
library, which IMHO is the best way to deal with project resources.
(see https://dataplatform.cloud.ibm.com/docs/content/wsj/analyze-data/project-lib-python.html)
For this you need a bit of setup, first go to the Settings tab of your project, scroll down to the section about project token, add an admin project token.Then create a notebook, and use the vertical ellipsis button in the top row, and use Insert project Token option.
This will insert the project-lib
initialization code. You can then use project.get_project_bucket_name()
Detailed information can be found in
https://dataplatform.cloud.ibm.com/docs/content/wsj/analyze-data/load-and-access-data.html------------------------------
Philippe Gregoire
IBM France - TSP & ISV Technical Enablement - Data&AI, IoT Europe
NICE, France
------------------------------
Original Message:
Sent: Mon June 29, 2020 12:54 PM
From: Bashiru Akintayo
Subject: How to get the Bucket name on Watson studio
How can someone get bucket name on Watson studio
------------------------------
Bashiru Akintayo
------------------------------
#GlobalAIandDataScience
#GlobalDataScience