Deployment
Prerequisites
- Access to a running Airy Core installation Get started
- A dialogflow agent up and running in google cloud see documentation
In order to deploy salesforce-contacts-ingestion
, you can apply the following config map, by using the UI or calling the components.update
endpoint with the
following values:
- Salesforce designated username for the components
- The users password
- The users security token see documentation
- You organization Url. Example
https://organization.my.salesforce.com
Config map update CURL
$ http -v POST https://staging.airy.co/components.update "Authorization:Bearer <token>" < components.update.json
POST /components.update HTTP/1.1
Accept: application/json, */*;q=0.5
Accept-Encoding: gzip, deflate
Authorization: Bearer <token>
Connection: keep-alive
Content-Length: 2898
Content-Type: application/json
Host: staging.airy.co
User-Agent: HTTPie/3.2.1
{
"components": [
{
"data": {
"username": "username@organization.com",
"password": "myPassWord123",
"securityToken": "mySecurityToken456",
"url": "https://organization.my.salesforce.com"
},
"enabled": true,
"name": "enterprise-salesforce-contacts-ingestion"
}
]
}
HTTP/1.1 200 OK
Connection: keep-alive
Content-Length: 55
Content-Type: application/json
Date: Tue, 28 Jun 2022 08:09:59 GMT
Strict-Transport-Security: max-age=15724800; includeSubDomains
{
"components": {
"enterprise-salesforce-contacts-ingestion": true
}
}