- Set up the data source in SEI
- Import the template
Data Source
A data source defines how SEI connects to your Sage CRM data warehouse. When you create a data source, its description is used across all your environments. Before starting, create a SQL or Oracle user if not already in place. You will then need to add one data source: the ERP data source.
Before configuring a data source, make sure you have your database server details—such as the server name, instance, and authentication strategy—as well as the main ERP database name and schema ready.
Create a SQL or Oracle user
A dedicated database user is required to allow SEI to access the Sage CRM data warehouse.
Most Sage CRM templates use SQL for the data warehouse, and this is the recommended setup for partners. However, Oracle is also supported if your organization already uses it as a data warehouse platform.
| User | When to choose |
|---|---|
| SQL | Use if your data warehouse is hosted on Microsoft SQL Server. (Recommended) |
| Oracle | Use if your data warehouse is hosted on Oracle Database. |
Manage data sources
Rename the Production environment (optional)
- Log in to SEI.
- In the navigation panel, select the gear icon to open Administration.
- Select Env. & Data Sources. By default, an environment named Production appears under Environments.
- Select the pen icon next to the environment name.
- Enter a new name and click Confirm.
Create the ERP data source
- Log in to SEI if you're not already connected.
- In the navigation panel, select the gear icon to open Administration.
- Select Env. & Data Sources.
- In the Data Sources panel, click + to create a new data source.
- Fill out the ERP data source configuration, entering all required properties in the Data Source Definition panel.
- Click Validate and then Save to complete the setup.
Data Source Definition properties
| Property | Description |
|---|---|
| Data Source Description | Enter a name such as Sage CRM Data Source. |
| Type | Select SQLSERVER or Oracle. |
| Server | Enter the database server name where the Sage CRM data warehouse is hosted (from DataSync). |
| Database Name | For SQL Server only. Enter the warehouse database name (from DataSync). It is case sensitive. |
| SID | For Oracle only. Enter the warehouse database name (from DataSync). It is case sensitive. |
| Path | For Oracle only. Enter the port number of the Oracle instance. |
| Extra connection string properties | Leave blank unless otherwise instructed. |
| Transaction With (No Lock) | For SQL Server only. Leave checked. |
| Pooling | For Oracle only. Activate and define pooling parameters to improve performance. You can keep the default values or adjust as needed: Min. Pool Size 1, Max. Pool Size 100, Decr. Pool Size 1, Incr. Pool Size 5. |
| Database Schema Name | Add two entries using +: For both, make sure you replace DatabaseName by the actual value.
|
| SEI Schema | Enter the custom schema name as above NEC_CUSTOM_SCHEMA. |
| Authentication Strategy | Select UseSpecific from the dropdown list. |
| User Name | Enter the SQL or Oracle username created in Create a SQL or Oracle user. |
| Password | Enter the password for that user. |