How to create a new database
To create a new database, select the Create new database button. A dedicated wizard opens and guides through each step. After entering the required information on a screen, select Next to proceed.

The first screen allows choosing whether the database values can be modified or whether the database is read-only. In the latter case, the database data can be viewed and downloaded but not modified. Select Next to proceed.

Enter the name and description of the new database. Define how to create the database structure by choosing whether to:
- Import the user list from an external file such as an Excel or CSV file;
- Import users via Facebook Lead Ads;
- Enter users directly through Contactsend by defining the database structure and fields.
The maximum number of databases per company is 200. Once this limit is reached, no additional databases can be created until obsolete databases are deleted.
Import the database from an external file
If an Excel (.xls or .xlsx) or CSV file containing users is already available, it can be used to create the new database.
Select By uploading a file in How do you want to define the structure? Then specify whether the file is in CSV or Excel format. If an Excel file is used, all data must be entered in the first worksheet. Data in other sheets will not be loaded by Contactsend.
The first row of the file should contain the column headers.

The next step displays a preview of the first 10 rows of the file. Check that all data is displayed correctly.
The Field definition box shows the number of columns and rows in the file.
-
The Primary Key option allows defining whether the database primary key is managed by the customer or by Contactsend.
- If selected, the key is managed by the customer and must be a a non-negative integer, ranging from 0 to 4294967295 (the maximum value for a 32-bit unsigned integer).
- If not selected, the primary is managed directly by Contactsend, and a PK_ID column is added to the database.
-
The Do not insert the first row option prevents the first row, which typically contains the headers, from being loaded into Contactsend as a record. Select this option if the first row contains the column headers
-
The Use a column from my file for consent tracking option indicates that tracking consent has already been collected and is included in the imported file. When selected, choose the column containing the consent information. The platform automatically renames the column to
__clt. The file must contain0if consent has not been given and1if consent has been given. -
In the box below, enter the column names. By default, the names in the first row of the file are suggested.
- Column names in Contactsend MUST NOT contain spaces, hyphens, or special characters. Only a-z and A-Z (excluding accented letters), numbers, and the underscore (_) are allowed.
- Some names are reserved and cannot be used. An alert appears when a reserved name is entered.
The field type can also be defined. The available field types are described below:
- Character (1): Fixed-length text field of 1 character.
- Character (2): Fixed-length text field of 2 characters.
- Text: Variable-length text field that can store up to approximately 64 KB of data.
- String (255): Variable-length text field that can store up to 255 characters.
- Numeric (1): Integer numeric field with values ranging from -128 to 127.
- Numeric (11): Integer numeric field with values ranging from -2,147,483,648 to 2,147,483,647. The number in brackets indicates a display width and does not affect the storage range.
- Non-negative numeric(11): Unsigned integer numeric field with values ranging from 0 to 4,294,967,295. The number in brackets indicates a display width and does not affect the storage range.
- Date: Field representing a date in MySQL format “yyyy-MM-dd” .
- Date and time: Field representing a date and time in MySQL format “yyyy-MM-dd hh.mm.ss”.
- For date and date-time fields, the system asks for the format to use for conversion to the MySQL format
yyyy-MM-dd. - For numeric values, entering them in a numeric field allows filters with conditions such as “greater than” or “less than” to be created.

The next step requires specifying which column contains the email addresses. Select the corresponding email field. The SMS column can be ignored if this channel is not active in the contract. If the channel is active, specify the field containing the phone number.
Phone numbers must include the international dialing code (e.g., 0039 or +39 for Italy).

Selecting Next opens the summary screen.
In User Activities, user activity monitoring can be enabled for the database. Historical data can also be recalculated over a selected time period, if available.
Confirm the database creation by selecting Finish.

A confirmation message indicates that the database has been created. The database can now be managed. See the next section, How to manage an existing database.
Import users via Facebook Lead Ads
If Create via Facebook Lead Ads was selected in How do you want to define the structure?, follow the steps below.

In Field Configuration, select the Facebook form fields to include in the user database, together with any metadata, such as adgroup_id, ad_id, created_time, leadgen_id, page_id, and form_id.
Every registration from a specific form can also be tagged with a fixed value. This value is added to a specific database field called Tag. By default, the form ID is added.

The next step, Structure Definition, requires specifying which column contains the email addresses. Select the corresponding email field.
Ignore SMS if this channel is not active in the contract. Continue creating the database as described in the previous procedure.
Enter users directly through Contactsend by defining the DB structure and fields
If By manually specifying the fields was selected in How do you want to define the structure?, follow the steps below.

First, choose between the Only email and VCard structures. With Only email, the initial database structure includes only the email field, with the option to add additional fields such as firstname, lastname, and address. With VCard, a predefined structure can be imported from a VCard, a format used in the address books of many email clients, such as Outlook. The predefined structure can include fields such as ADDRESS, CITY, EMAIL, and FIRSTNAME.

Additional fields can be added later.
Select Next to complete the wizard and confirm the creation of the new database.