Set Up Jupyter Notebook for Service Ticket Intelligence
- How to install Python and Anaconda
- How to set up a local Jupyter server to run Jupyter notebooks
- Step 1
First, you need to install Anaconda. Anaconda is a platform that offers tools to process large datasets and is often used by data scientists. When installing Anaconda, the programming language Python is installed as well.
To install Anaconda, head over to the Anaconda installation guide and look for your operating system. Once there, follow the installation guide.
You have successfully installed Anaconda.
- Step 2
All you will need throughout the tutorial is within this repository on GitHub. It includes three Jupyter notebooks, one for each of the use cases of Service Ticket Intelligence, as well as some dataset that can be used. Now, you will clone this repository to your local computer.
Once the repository is cloned, you receive an output as above, saying that it’s done.
- Step 3
To use the Jupyter notebooks, you must have a local instance of the Jupyter server running.
Stay in the Anaconda Prompt (Windows) or the Terminal (Mac and Linux) and navigate into the new folder that was created while cloning the repository by using the command
cd service-ticket-intelligence-jupyter-notebook. You then move into the folder and your current path will change accordingly.
Next, enter the command
jupyter notebookto start the server.
Once the server started, the Jupyter notebook automatically opens in the browser. In case it does not, you can use one of the URLs that appear in the command prompt.
- Step 4
Finally, you need to upload the service key file that you obtained in Use Free Tier to Set Up Account for Service Ticket Intelligence and Get Service Key or Use Trial to Set Up Account for Service Ticket Intelligence and Get Service Key.
On the Jupyter notebook page that you opened in the previous step, click Upload.
In the dialog that opens, select the file that contains the service key.
Finally, edit the file name and update it to
default_key.json. Click Upload again.
Now, the file shows in the list of documents and folders. With that, you are done with the setup and ready for the next tutorial.
- Step 5
Select the correct command to start your Jupyter server: