![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@vesselapi/client-sdk
Advanced tools
Vessel is an embedded integrations OS making it easy to provide native GTM (go to market) integrations for Salesforce, HubSpot, Outreach, Ringcentral, and much more. Use our Unified API, Actions API, or Managed ETL to pull and push data to these end platforms in a variety of ways and schemas.
For more information including a more in-depth tutorial and documentation visit docs.vessel.dev
npm install @vesselapi/react-vessel-link
yarn add @vesselapi/react-vessel-link
When the Vessel client SDK is instantiated, a hidden modal iframe is attached to your application. When opened, the modal iframe will show the authentication flow for a given integration to your user.
Default Usage
There are several important configuration options when opening the modal. The first is the integrationId
which is required and will select the integration to open. To get a dynamic list of the integrations we support, including their integrationId
, name
, and iconURI
you can call the Integrations List endpoint.
export default function App() {
const { open } = Vessel(...);
return (
<button
onClick={() =>
open({
integrationId: 'outreach',
getSessionToken: () => api.get('/session-token'),
})
}
>
Connect Outreach
</button>
);
}
Change Auth Type
Vessel will use the default authentication method if none is provided. However, if an integration supports multiple authentication methods - say API key and OAuth - you can configure the modal to use one or the other by utilizing the authType
property. For a list of supported auth types per-integration, please check the Platform
object in the integrations library.
export default function App() {
const { open } = Vessel(...);
return (
<button
onClick={() =>
open({
authType: 'apiKey',
integrationId: 'outreach',
getSessionToken: () => api.get('/session-token'),
})
}
>
Connect Outreach
</button>
);
}
Change OAuth app used
If the integration requires OAuth authentication and Vessel provides a pre-approved default application, that app will be used to authenticate your user.
However, if your plan supports it, you can configure a custom OAuth application that you've created to be used when authenticating your user. To do so, please follow the manage oauth apps guide. Once you've retrieved an oauthAppId
you can pass it to the modal open.
export default function App() {
const { open } = Vessel(...);
return (
<button
onClick={() =>
open({
oauthAppId: '....',
integrationId: 'outreach',
getSessionToken: () => api.get('/session-token'),
})
}
>
Connect Outreach
</button>
);
}
Contact us at support@vessel.dev
FAQs
Vessel API Client SDK
The npm package @vesselapi/client-sdk receives a total of 46 weekly downloads. As such, @vesselapi/client-sdk popularity was classified as not popular.
We found that @vesselapi/client-sdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.