Note that this should not be an OAuth provider login. Also, specify the system username that will be used to run a notebook process. Paste the value into the Token field of the Authenticating to JupyterHub dialog. Click the Request new API token button and copy the token that appears in the You new API token area. The token page should open in the browser. Note that although GitHub is used in this example, it is just one of the supported OAuth providers (see the complete list in JupyterHub documentation).Ĭonfirm your authorization on GitHub or provide your credentials. You will be prompted to login into GitHub. Select Connect by URL and enter the target Jupyter server address in the Server URL field. You can establish connection to a Jupyter server through OAuth authentication using the JupyterHub API token.Ĭlick the icon on the toolbar of the Workspace tool window. Once the connection has been established, the server and its structure are shown in the Workspace tool window.Ĭonnect to a Jupyter server using OAuth authentication The target URL should contain a server name or its address, and the access token. Run jupyter notebook list in the Terminal window to check if there are any.Ĭonnect by URL: establish a connection to a remote Jupyter server. The option is enabled if there is at least one active Jupyter server on your machine. Run local Jupyter server: run a Jupyter server in a local directory that will be attached to your workspace.Ĭonnect to running Jupyter server: establish a connection to any locally run Jupyter server. In the New Jupyter Connection dialog, select the connection type: Connect to a Jupyter serverĬlick the icon on the toolbar of the Workspace tool window to establish a connection to a Jupyter server. You can also see the automatically created server kernel in the list of kernels. Once the server is launched, it is shown as a managed server in the list of the servers in the Jupyter toolbar. You can switch to the Jupyter Server tool window to preview server's configuration details. When you initiate cell execution, DataSpell launches the Jupyter server on the local host using any available port (by default, it is the 8888 port). To run a Jupyter server just execute any code cell. It will be terminated when you close DataSpell.Ĭonfigured server – any Jupyter server that you connect to by specifying its URL and token. Managed server – a Jupyter server that is automatically launched by DataSpell for the current project. In DataSpell, you can execute code cells using:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |