--- title: "Testing Decisions Database Connection" slug: "testing-decisions-database-connection" updated: 2021-03-12T15:05:29Z published: 2021-03-12T15:07:13Z canonical: "documentation.decisions.com/testing-decisions-database-connection" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Testing Decisions Database Connection Example Lab ArticleWhile Example Lab projects are resources for public use, articles and assets are not actively maintained. Screenshots and features are from the specified version below. These references may become dated as new versions are released. --- ## Overview | ## Example Lab Details | | --- | | **Version** | 6.4.0 | | **Root Folder** | Example Lab - Connection Test | | **Modules** | None | | **Dependencies** | None | This Example Lab project demonstrates how to test a user's Decisions database connection using the Test Connection step. --- ## Explanation This project works by using the Fetch Entities step to Fetch all of the relevant DataBase Data from the user's Decisions instance. This data is then passed into a ForEach step where the connection(s) will be tested by using the test connection step for each result. If the Test Connection step runs with a null output this means that the connection test was successful. Upon the event of an unsuccessful connection test, the step will output an error and a popup will be displayed to the user to notify them the connection test has failed. Reference Articles[ForEach Step](https://documentation.decisions.com/docs/en/processing-lists-of-items-with-the-foreach-step) [Fetch Entities Step](https://documentation.decisions.com/docs/en/retrieving-entities-with-the-fetch-entities-flow-step) ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/Screen%20Shot%202020-10-08%20at%209.57.45%20AM.png) --- ## Project Download The examples attached were developed to be instructional and were not developed as officially supported components. For more information or to engage our service team to develop fully supported, production quality solutions, please contact services@decisions.com. Import the project below to a Decisions environment on version 6.4.0 or later using our [Importing/Exporting](https://documentation.decisions.com/docs/exporting-and-importing-overview) article. [ExampleLab[ConnectionTest].zip](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/ExampleLab%5BConnectionTest%5D.zip) ---