# Installing Atlas Copco Data Communication

There are two ways of installing Atlas Copco Data Communication to a computer:

- Complete - install all of the components of Atlas Copco Data Communication.

- Advanced - choose which components to install on the computer. This makes it possible to install the application or the database separately. Perform a complete installation if not requested otherwise by the system settings.

Installing Atlas Copco Data Communication

1. Start AtlasCopco Data Communication.msi.

2. In the installer, read the information and select Next.

3. In the License Agreement dialog box, read the License Agreement, then select the option I accept the terms in the license agreement, and then select Next.

4. In the Setup Type dialog box, select either

   - The Complete option, and then select Next for a complete installation. The instructions for a Complete installation continues in step 6.

   - The Advanced option, and then select Next, to select which components are installed. The instructions for an Advanced installation continues in step 5.

5. This step is only applicable when choosing the Advanced installation.

   In the Advanced setup menu, select how to install each available component, and then select Next.

   Available components:

   - Database: Atlas Copco Data Communication database

   - Application: Will install the Atlas Copco Data Communication service on the machine.

   Available installation options:

   - This feature will be installed on local hard drive.

   - This feature, and all subfeatures, will be installed on local hard drive.

   - This feature will not be available.

   Depending on the component selected, all the steps below may not be applicable

6. In the Database Location and Configuration dialog box, select one of the following:

   - On Premise: The service will store the data in a local database. Add the On Premise Server Data Source.

   - Azure: The service will connect to the IoT hub and send the data to Azure for storage. Add the Azure IoT Hub Connection String, provided by Atlas Copco.

   - Both, also add both the On Premise Server Data Source and the Azure IoT Hub Connection String, provided by Atlas Copco.

7. In the Database Location and Configuration dialog box, select the option for Database Type.

   - SQL Server

   - Oracle

   Oracle installations should be done by an expert and only when there’s a Oracle DBA present.

8. Enter the Server data source, either the IP address for a SQL Server or a TNS name for Oracle, and then select Next.

   If the SQL Server is hosted on the computer running the installation, set the IP address to `127.0.0.1.`

9. In the Database Credentials dialog box, enter the login information for the database that was chosen in the previous step:

   - User name

     The user name on the SQL Server or Oracle Server.

   - Password

     The Password on the SQL Server or Oracle Server.

   Make sure that the user has permission to create a database, users, and database jobs.

   The user account entered in this step is only used for the installation. The installer creates new users with limited access only to the Atlas Copco Data Communication database and the Atlas Copco Data Communication related database jobs.

10. Validate the information entered in step 8 by clicking Test Connection. The test connection will attempt to log in to the database using the credentials provided. If the test connection fails, make sure that the user has been set up properly in the database server.

11. Choose one of the following options:

    - Local installation

    - Remote installation This option is used when the database is on a different server (remote) from where the installer is executed.

12. Enter the file path to the folder in which the database files will be created and then select Next.

    When using the Remote installation option, the folder specified in the installer has to be created manually. If this has not been done the installation will fail.

13. In the Application Settings dialog box, enter the Connection Ports for:

    - Web API

    - SignalR

14. In the Application Settings dialog box, enter the Protocol Ports for:

    - Power Focus 6000, PF6 FlexSystem

    - ToolsNet Data Collection

15. In the Application Settings dialog box, select Graph compression as Yes (default value) or No then click Next.

16. Review the settings and select Install.