We welcome all contributions to Panora; from small UI enhancements to brand new integrations. We love seeing community members level up and give people power-ups!
Copy env variables
bash cp .env.example .env
Removed previously installed dependencies
packages/api/src
where the server lives !
crm
vertical.
packages/shared/src/utils.ts
file and check if the provider you want to build has its metadata set inside the providersConfig
object.contact
under crm
vertical to my3rdParty (in reality it would be a real 3rd party name).
active
field to true
inside providersConfig
.cd crm/contact/services/my3rdParty
You’ll now create 3 files.
index.ts
_where your service is created and direct interaction with your 3rd party API is handled
It must implement the IContactService
interface.
/crm/contacts/services
to fill the core functions.
The keen readers may have noticed 3rdPartyContactInput
and 3rdPartyContactOutput
.
This is where types.ts
comes in:
Go to the 3rd party API and insert the correct types asked by the API.
mappers.ts
you have to build the mappings between our unified common object contact
and your third party specific type 3rdPartyContact
.
It must implement IContactMapper
interface.
/crm/contacts/services
to fill the core functions.
pnpm run validate-connectors --vertical="crm" --objectType="contact"
The script will automatically scan the /crm/contact/services
folder and detect any new service folder so all dependencies and imports are updated across the codebase.