# Connection

The Connection script keyword is used as an element within an IncludeModel statement. Connection specifies the location of the source data that is being loaded into the application, from a data product, as a table.

Information note

For details and full syntax specification, see [IncludeModel](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptRegularStatements/IncludeModel.htm).

Syntax:

Connection dataset\_connection

Arguments

| Argument | Description |
| --- | --- |
| dataset\_connection | A connection that can load the dataset containing the referenced table.<br><br>Depending on the location of the connection, use one of the following formats:<br><br><ul> <li> <p><span>environment:space:connection</span> — Used for files located within environments (containers for data synchronized between <span>Qlik Cloud</span> and <span>Qlik Talend Cloud</span>). Environments are associated to spaces (particularly, <span>data spaces</span>).</p> <p>For more information about environments, see <a href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Admin/mc-administer-environments.htm">Synchronizing and managing environments</a>.</p> </li> <li> <p><span>space:connection</span> — Used for connections with a space as the top-level storage container or in the same environment as the loading application. This could be connections located in <span>shared</span>, <span>managed</span>, or data spaces.</p> <p>For example, for a dataset stored locally within <span>Qlik Cloud</span> (<span>DataFiles</span> connection), located in a space named <span>Sales Analysis</span>, you would use following: <span>Sales Analysis:DataFiles</span></p> </li> <li> <p><span>connection</span> — Connection name only. This refers to connections located in your <span>personal space</span>. In this case, the connection would simply be: <span>DataFiles</span></p> </li> </ul><br><br>Examples:<br><br>`[CustomerOrders:DataFiles]`<br>`[SalesData2026:SnowflakeSales]` |

## Learn more

* [IncludeModel](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptRegularStatements/IncludeModel.htm)
* [Semantic models in data products](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/DataProducts/semantic-models-in-data-products.htm)
* [Consuming data products in applications](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/DataProducts/consuming-data-products-apps.htm)
* [Data catalog](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/LoadData/data-catalog.htm)