# Custom Database

**Accessing the Custom Database:**

To access your custom database in our application, follow these steps:

1. **Navigating to the Custom Database Section:**
   * Log in to the admin panel using your credentials.
   * Look for the "Custom Database" tab in the menu bar or navigation panel. It should be the sixth section you see when opening the admin panel.

     <figure><img src="/files/oH9yxqbARphyAH1H63UU" alt=""><figcaption></figcaption></figure>
2. **Adding a new Custom Database:**
   * To add a new Custom Database, click the "add new database" button.

     <figure><img src="/files/nrN6vehgLcaHJu3XaAVx" alt=""><figcaption></figcaption></figure>
3. **Filling out the Custom Database:**
   * A new window will open with option to fill the Name, SQL Server Connection String and Function Description.
     * *Name:* here you specify the database’s name.
     * *SQL Server Connection String:* connects to database server.  When you add the string one more option will come which is table name.
     * *Function Description*: explains the database’s role.
     * *Table*: represents a specific data structure inside a database.
       * StockData - stores historical stock prices
       * StockDetails - stores stock details
       * StockView1 -for everything in one place.
     * Table Schema: explain the information the table holds.

       <figure><img src="/files/K5o1y4Otn7g9LQIHm2Ek" alt=""><figcaption></figcaption></figure>
4. **To view and edit the existing Custom Database:**
   * Click the desired row you would like to view or edit.

     <figure><img src="/files/K7Jju5xTqTo3EOIbvMAc" alt=""><figcaption></figcaption></figure>


---

# 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.aicrisk.com/admin/custom-database.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.
