Where can we find the Notebook token to make a connection between the Notebook and TIBCO Data Science Team Studio?

Where can we find the Notebook token to make a connection between the Notebook and TIBCO Data Science Team Studio?

book

Article ID: KB0072390

calendar_today

Updated On:

Products Versions
Spotfire Data Science Team Studio 6.5, 6.6

Description

Notebook token gets generated after installation and admins can add it immediately in chorus.properties file of TIBCO Data Science Team Studio. In case admins lost it due to some reason this article will help to retrieve it from the notebook installation directory.

Environment

Linux based.

Resolution

1. Login to the notebook server command line.
2. Navigate to the notebook installation directory. (generally /opt/notebooks) 
3. Open the settings.ini file.
> vi settings.ini

settings.ini

4. Note down the token number.
5. Add the following lines at the end of the chorus.properties file. (Located on Team Studio server /<Team Studio installation directory>/shared/) 

notebooks.enabled = true
notebook_server.host_api_version = 4.1.0
notebook_server.manager_host = <IP address of Notebook server>
notebook_server.manager_port = 8000        #default notebook port
notebook_server.manager_token = <token>


6. Save the chorus.properties file.
7. Restart TIBCO Data Science Team Studio application. ( Navigate to the Team Studio installation directory)
> chorus_control.sh restart

Issue/Introduction

This article explains where can we find the Notebook token in case admin lost it due to some reason to make a connection between the Notebook and TIBCO Data Science Team Studio.