# 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="https://2455207419-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnZwCwAN15BUJcXMA5avi%2Fuploads%2F22HLNlw8buSQorCf9J0S%2Fimage.png?alt=media&#x26;token=ae37bd5e-b26e-459f-8c9e-dfb59d924511" 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="https://2455207419-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnZwCwAN15BUJcXMA5avi%2Fuploads%2FENtiaNxLFfByi8mEzYfH%2Fimage.png?alt=media&#x26;token=6891a1be-6978-4c65-9180-917dd32675d1" 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="https://2455207419-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnZwCwAN15BUJcXMA5avi%2Fuploads%2F6RZEbeE3obkaJcSSZZNQ%2Fimage.png?alt=media&#x26;token=7bc9d921-ce0c-4781-95a1-fde9b9ad880c" 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="https://2455207419-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnZwCwAN15BUJcXMA5avi%2Fuploads%2F3ECz0WbT5v8oAI379WRv%2Fimage.png?alt=media&#x26;token=294281bb-729c-46ac-924e-059f03d599fb" alt=""><figcaption></figcaption></figure>
