---
title: "Preparing project in Mosaic"
canonical: "https://docs.cuesystem.com/space/CVCDD/447741957/Preparing%20project%20in%20Mosaic"
format: markdown
---
When you create project for Tecomat PLC in Mosaic environment, you must generate *.pub file with definitions of variables used in your project. You must create project, where all functionality will be done throw variables.

# Creating project and variables

Create your Tecomat project with variables, which you will communicate to CUE unit.

![image](media://a5e1beb5-bfb9-452b-8e07-8a2a2f4a192d)

All variables, which you want use in your application must be defined as {PUBLIC}.

# Generating *pub file

In project manager of Mosaic IDE, check “Assembler (*.pub file)” option.

![image](media://f5a46f46-0ce1-48de-8ee2-7ddfaa51beaa)

After compiling, you will find this file in your Tecomat project directory.