> For the complete documentation index, see [llms.txt](https://docs.aicrisk.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aicrisk.com/admin/custom-database.md).

# 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>
