Multiple Schemas/Datasets

The problem I’m having

I’m migrating my codes from dbt_core to dbt_cloud, but I’m facing a problem. My models contain sources that are in several other different BigQuery datasets, and when configuring the job I need to pass a specific dataset. Is it possible to solve this?

Example:

I want to materialize my table “agendamentos.table1”, but it depends on another table that has the path “regras.tableX”