# Datasource Configuration

From version 4.0.0.19 onward, App Designer provides option to configure the datasource to be used on the App Designer. Once a datasource is configured, an entity can be configured to use this datasource to query the table details. This provides flexibility to user to connect to different data sources from the Smart Form.

To manage the Datasource, go to the Utilities Menu and click on the Datasource Configuration menu.

![](https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FWaaQixYSkSEbWSKm8S9i%2F0?alt=media)

System will show the existing datasource configured in AD.

![](https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FdcL6LxXONrhDMfXOXNUC%2F1?alt=media)

User can create new Datasource by clicking on the Add icon ![](https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FYBzjsobPZKR0BKU4l1Wf%2F2?alt=media).

Enter the details of the new datasource on the Datasource configuration screen and click Save.

![](https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FYXlxvx4xGlasJThDbxK9%2F3?alt=media)

Once saved user can use the new datasource in an entity by setting the new datasource as the system code in entity configuration.

![](https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FLDrEOMM5wnkKcXdSgK1y%2F4?alt=media)
