# Components

In 

In-call-components were created to support the use-case where, for example, in Salesforce, the agent is require to select either a person or an entity type (i.e. Account, Opportunity, Lead, etc,) that is used to relate a task to a record within Salesforce.

At the moment, in-call-component support is limited to a select drop-down but this will be expanded to support other components as use-cases arise.

Components are created by adding an in-call-components configuration block to the CTI Adaptor config block when creating a configuration.

{
  ...
  "config": {
    "inCallComponents": {
      "title": "Salesforce",
      "body": [
        {
          "component": "select",
          "name": "whoId",
          "disabled": false,
          "placeholder": "Select person",
          "options": []
        },
        {
          "component": "select",
          "name": "whatId",
          "disabled": false,
          "placeholder": "Select related",
          "options": []
        }
      ]
    }
  }
}

More information about creating a configuration is available in the Ipscape Knowledgehub