Define the necessary connections

For this integration, we use both SaaS applications. For each application, we'll create a connection, one will be triggered by our Salesforce instance and one will invoke Twilio.

As before, log back into ICS and navigate to the Connections part of the Designer and create a Salesforce connection by selecting the Salesforce adapter.

Define the necessary connections

Create the connection with the following details:

Property

Value

Connection

Name

Salesforce_Ch4

Identifier

This will be proposed based on the connection name, and there is no need to change unless you'd like an alternate name.

Connection Role

Trigger and Invoke.

Description

This connection interacts with the Salesforce instance, for example, to receive outgoing messages .

After creation, configure the connection with the following details:

Property

Description

Email Address

Your e-mail address.

Configure

connectivity  |

Enterprise

WSDL location

Tick the Upload File, and then use the File selection to upload the SForce-Enterprise WSDL.

Close with the OK button.

Configure

Security |

Credentials

Set Security Policy to Salesforce Custom Policy.

Enter Username of valid system admin account.

Enter and confirm a Password. The value is the password of the user and attached to that the security token, for example, passwordSecurityToken.

Close the dialog with the OK button.

The following screenshot shows our security configuration:

Define the necessary connections

Once the fields are complete, use the Test button at the top of the page to validate the connection configuration; the percentage completion should reach 100% at this point. Click the Save and Exit Connection button.

Now we repeat this to create the Twilio connector with the following details:

Property

Value

Connection

Name

Twilio_Ch4

Identifier

This will be proposed based on the integration name, and there is no need to change unless you'd like an alternate name.

Connection  Role

Invoke (the only option)

Description

This connection can send SMS, MMS, or voice messages through Twilio to mobile phones.

After creation, configure the connection with the following details:

Property

Value

Email Address

Your e-mail address

Configure

Security |

Credential

Set Security Policy to Twilio Security Policy.

Enter AccountSID of test credentials (see the Twilio account).

Enter and confirm AuthToken (see the Twilio account).

Close the dialog with the OK button.

Define the necessary connections

Click Test at the top of the page to validate the connection configuration. After validating the connection, click the Save and Exit Connection button. We should now have two connections successfully created.

Troubleshooting

If the test fails for one of these connections, check if the correct credentials where used. When connecting to Salesforce, remember that the password is a combination of the users' password and their security token. When the failure is from Twilio, check to see whether you mixed up the live and test credentials.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset