You can save a data sources into a variable using the code below.

const db = await MindsDB.Databases.getDatabase('mysql_datasource');