# Data Science Servers

This section explains server settings for various data science workspaces for the Data Science Workbench plugin of the platform.

* Click the ***Data Science Servers*** option from the list of ***Configurations*** admin options.
* Various Data Science Servers get listed.

![](/files/wIDA41TgY3iH0kAbsidu)

## **Steps to Create a New R-Server**

* Navigate to the ***Data Science Servers*** admin option.
* Click the ***R Server*** option.

![](/files/Bh3Yu2Pbv2q3nGscMfeZ)

* The ***R Server*** page opens.
* Click the ***Add new server*** <img src="/files/77J89zTCIjR5i5ctqcgr" alt="" data-size="line"> icon.

![](/files/YnTgr62IaLYKWDmUvElu)

* The ***Create R Server*** scrollable window opens asking basic Information for a new R Server.
* Provide the following information to configure a new R server:
  * IP Address: IP address of the R-server
  * Port: R-Server’s port number
  * Username: Enter a username to log in to the R- server
  * Password: Enter the password for the above username
  * R Server Name: Provide the R- Server address
  * Provide HTTP URL for R-Bokeh: Provide R Visualization URL
  * Elastic Search Port: Provide an elastic search port number
  * R Visualization URL: Provide HTTP URL for R-Bokeh
  * Enable Parallel Processing: Avail this option by using the enable/disable button
  * Set as Default: Select this option by using a checkmark in the box
* Click the ***Test*** option to verify the R-Server connection.

![](/files/K7kZoUrh1kPeHrHYKfKi)

* A message appears to assure the connection.

&#x20;    ![](/files/dzdi5NyTIstIsLv5Lji5)

* The ***Save*** option gets enabled
* Click the ***Save*** option to save the verified R-server configuration details.

&#x20;     ![](/files/zFkB7BPQW54Zvv078cLH)

* A message appears to ensure the successful updates in Data Science Settings.

&#x20;     ![](/files/XXrrUH1Nsp3WWxLpigUJ)

* The newly created R-Server gets added to the R-Server list displayed under the ***R-Server*** window.

![](/files/xSqxRPcGIRoaRaGfk5Ta)

Note:

* The user can click the ***Edit*** <img src="/files/UXxa7osMT1e601Crj50K" alt="" data-size="line"> icon from the R Servers window to modify the R Server settings.
* The user can click the ***Save*** from the R Servers window to save the edited R Server settings.
* The Administrator can configure multiple R-Servers, but the process execution happens on a single server at a time. Click the ***Delete*** <img src="/files/7rjl8TPS4ZUZsLBdQMua" alt="" data-size="line"> icon to remove the selected server configuration details from the list.

## **Spark Server Settings**&#x20;

Users can configure a new Spark Server or edit the existing server via the Spark Server Settings.

* Navigate to the ***Data Science Servers*** admin option.
* Click the ***Spark Server*** option.

<img src="/files/qUIAApe8WAabMszBbrLA" alt="" data-size="original">

* The ***Spark Server*** page opens.
* Click the ***Add New Server*** <img src="/files/guDw2Tcw22WkIBoMK2Av" alt="" data-size="line"> icon.

![](/files/GHLH3unfqD6mIXJrHtaJ)

* The ***Create Spark Server*** configuration window opens.
* Provide the following information:
  * ***Host***: Host address of the Spark server
  * ***Port:*** Spark server’s port number
  * ***Username***: Enter a username to log in to the Spark server
  * ***Password***: Enter the password for the above username
  * ***Spark Server Name***: Provide Spark Server Address
  * ***Jetty Confirmation URL***: Provide Jetty confirmation URL link
  * ***Application***: Provide the application name
  * ***Spark Server Protocol***: Select a protocol option by using the radio option
* Click the ***Test*** option to verify the connection.

![](/files/tVyuwtYRopDB88qWCx4a)

* A message appears to assure the connection.

&#x20;     ![](/files/gZNn85HN3EcWj7ZF20hJ)

* The ***Save*** option gets enabled.
* Click the ***Save*** option to save the verified Spark server configuration details.

&#x20;     ![](/files/q6n1bASV7pVzK9592LQO)

* A confirmation message appears to ensure successful updates in the data science server settings.

&#x20;     ![](/files/zrynxmz6z8nZBAOOHptK)

* The newly configured Spark server gets added to the ***Spark Server*** page.

![](/files/aUdDiRuGg1A2uwSqZxtk)

## **Python Server**

Users can configure the Python Application settings for the Data Science Workbench via the ***Python Server*** configuration fields.

* Navigate to the ***Data Science Servers*** admin option.
* Click the ‘**Python Server**’ option.

![](/files/Y72IVrjKpFV9keyIyjpL)

* The Python Server page opens.
* Click the ***Add new server*** ![](/files/TgIjJqO1KTxjUqldBS43) icon to add a new Python server configuration.

![](/files/gOypLemdpiL8jfvRq7X4)

* The ***Create Python Server*** configuration window opens.
* Provide the following information:
  * ***Host***: Host address of the Spark server
  * ***Port:*** Spark server’s port number
  * ***Username***: Enter a username to log in to the Spark server
  * ***Password:*** Enter the password for the above username
  * ***Python Server Name:*** Provide Python Server Address
  * ***Elastic Search Port:*** Provide the elastic search port number
  * ***Web Socket URL***: Provide the web socket URL link
  * ***Visualization URL***: Provide the Visualization URL link
  * ***Python Server Protocol***: Select a protocol option by using the radio option.
* Click the ***Test*** option to verify the connection.

![](/files/buCIU7T5Cm9k7C7V2rz2)

* A message appears to assure the connection.

&#x20;     ![](/files/ELKLU0Vr6J0MIRmoQkt1)&#x20;

* The ***Save*** option gets enabled.
* Click the ***Save*** option to save the verified Python server information.

&#x20;      ![](/files/CPc6J9Se0xMUiOev2Cc5)

* A success message appears to ensure that the data science settings got updated.

&#x20;     ![](/files/qH9b02IosGtLHptbTRJQ)

* The newly configured Python Server gets added to the ***Python Servers*** window.

![](/files/71mebJqMqHYYQ6fX7ipC)

**Note:**

* Click the ***Edit*** <img src="/files/BB5DEBPaF71puW0sDcqz" alt="" data-size="line"> icon to modify an existing Python server configuration.
* Click the ***Delete*** <img src="/files/Z0J6IAgZu7CHuQH7VFt5" alt="" data-size="line"> icon to remove the selected Python server details from the list.

## **Process Queue**

Users can reset the Predictive process queue through this Predictive Settings option.

* Click the ***Process Queue*** option from the Data Science servers.

![](/files/5LqyoL6r7HD8sn7aRX2B)

* The Process Queue page opens.
* Click the ***Reset Queue*** option.

![](/files/1eQsamlY5BbORnoUJzek)

* A warning message appears, asking whether the user wants to flush the queue.
* Click the ***YES*** option to set the count of currently running processes to Zero for the Data Science Workbench.

&#x20;     ![](/files/5g7VKNoAe8vXajJY9EVK)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bdb.ai/bdb-documentation/core-platform/platform-administration/admin-panel-options/configurations/data-science-servers.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
