--- title: "4. Connect to a Database" --- # 4. Connect to a Database > After you [install your database](platform/database-connections/installing-databases/installing-databases.md), you can connect it to Ignition. Alternatively, you can have Ignition create an internal SQLite database, which is ideal for testing, demonstrations, and just getting started. This next section will show how to create and connect Ignition to a SQLite database. ## Connect to SQLite Since SQLite is intended for lightweight local storage, you'll want to connect to a server-based database in a production system. For the purpose of getting started as demonstrated on this page, the SQLite database is an easy option to use. 1. If you are already logged into Ignition, then go to the **Config** section of the Gateway Webpage, otherwise login as the user with full/administrative privileges. 2. From the **Config** section, navigate to the **Databases** > **Connections** page. 3. Click the **Create new Database Connection...** link. 4. Select the **SQLite** option and click the **Next >** button. ![](connect-database-imgs/2020-11-09_12-17-22.png) 5. On the Database Connections page, enter a **Name** and **Connect URL**. You can leave the other fields blank. * On Windows systems, the Connect URL will default to: **jdbc:sqlite:C:/Path/To/File.db**. Part of the Connect URL is a file path. The Gateway will attempt to create a SQLite database at the specified path (assuming there isn't already one there, in which case it simply connects to that database). * The SQLite Database Connection does not require a username or password to connect. Scroll to the bottom and click the **Create New Database Connection** button. ![](connect-database-imgs/2020-11-09_14-55-18.png) A success message will appear when the database connection is created. ![](connect-database-imgs/2020-11-09_18-03-01.png) To get detailed descriptions for a number of different database connections, see [Connecting to Databases](platform/database-connections/connecting-to-databases/connecting-to-databases.md). You can also go to [Database Connections](platform/database-connections/database-connections.md).