README 1.38 KB
Newer Older
Vikas's avatar
Vikas committed
1 2 3 4 5
Connect with Abstractapi.com to fetch company details using domain or email address.
We will add a widget to the detail page of Organization, where user will be given an option to fetch the company's data

Please follow the below steps to a achieve this integration using VTAP platform.
1. Sign up for an account in https://www.abstractapi.com and note down api key.
Vikas's avatar
Vikas committed
6
2. In Vtiger, we need to build and publish an API using Api Designer to connect to abstractapi servers. APi link is https://extend.vtiger.com/vtap/app_examples/blob/master/abstractapi/get_abstractapi_company_enrich.xml
Vikas's avatar
Vikas committed
7 8 9 10 11 12
3. After publishing API you need to whitelist the abstractapi domain, this should be added by administrators in API Designer in the settings. 
   We have provided a settings icon on the list page of API Designer, there you need to add https://www.abstractapi.com for Organization module.
   If you are creating a custom module then you need to select custom module and add the endpoint to whitelist it.
4. Create a TAP script in Organization (internally called as Accounts) or any custom module to register the widget.  TAP script link is https://extend.vtiger.com/vtap/app_examples/blob/master/abstractapi/EnrichWidget.js
5. If you want to release an extension module then we would recommend you to create a custom extension and create API and TAP script for that custom module. 
6. Publish the TAP script to see the widget.
Vikas's avatar
Vikas committed
13