---
title: List Data Sources
sidebarTitle: List Data Sources
---

You can list all data sources using the code below.

```
const query = 'SHOW FULL DATABASES WHERE type = \'data\'';
result = await MindsDB.SQL.runQuery(query); // alternative for ES6 module syntax: MindsDB.default.SQL.runQuery(query)
console.log(result);
```
