# Creating a SugarCRM Connection

You must create a SugarCRM connection before you can use the TIBCO Flogo® Connector for SugarCRM connector. The SugarCRM connection contains all the parameters required to connect to the SugarCRM REST API. The SugarCRM connection is used by all the activities in the SugarCRM category.

To create a flow using the ReceiveSugarCRMMessage trigger see the "Creating a Connection Flow" topic.

Note: Before you create a SugarCRM connection, be sure that you have an active SugarCRM account.

To create a SugarCRM connection, click the Connections tab on the Flogo Enterprise page.

If this is the first connection you are adding, follow these steps:

1. Click the SugarCRM Connector tile.
2. Enter the values for the fields in the SugarCRM Connector dialog. See SugarCRM Connection Details topic for a description of the fields.
3. Click Save Connection.

If you already have an existing connections for any connector in Flogo Enterprise, the connections will be displayed on the Connections page.

1. Click Add Connection.
2. Click the SugarCRM Connector tile.
3. Enter the values for the fields in the SugarCRM Connector dialog. See SugarCRM Connection Details topic for a description of the fields.
4. Click Save Connection.

When you attempt to save the connection, if it fails to acquire an OAUTH token for any reason, an error message will be displayed at the bottom of the dialog. If you get a status code 401 “unauthorized”, check the values entered for all the fields above for accuracy.

Related concepts
Overview
Related reference
ReceiveSugarCRMMessage Trigger
SugarCRMCreate
SugarCRMQuery
SugarCRMUpdate
SugarCRMDelete
Copyright © TIBCO Software Inc. All rights reserved.