| Product Update
4 min read ellipse October 25, 2021

Introducing Convoy App Portal

One of the essential characteristics of a reliable webhooks infrastructure is visibility. We're enabling you to extend that visibility to your customers with the App Portal.

introducing convoy app portal

Unlike the Convoy Dashboard, App Portal is for just one application, giving your customers a good and extensive amount of details they need to test, manage and debug their integration with you.

convoy app portal

App Portal is integrated directly into Convoy Core, meaning you can access your customer's app portal from the app details section; it doesn't end there. We built the App portal to be usable in three different ways:

  • As a web component: enabling you to install it into your existing customer application (that's ease), App Portal is currently available for the two of the most popular Javascript frameworks; Angular and React.

  • Through a link: you can open it in a new tab and share it with a customer quickly. Note: the token expires, i.e. the link will be usable for a limited period.

  • Through an iframe: you can embed it into a vanilla HTML/Javascript application, copy the iframe code from the dashboard, and past it into your HTML code.

The token embedded into the iframe code also expire, so you can use this API to generate a new token whenever your user enters the page with the iframe.

Let's see how this works. App Portal component requires just two props:

  • token: Think of this as an authentication token. The token can be generated by making a post request to /apps/{this.appsDetailsItem.uid}/keys (API reference here)

  • apiURL: This should be the URL of the server where Convoy is deployed.

Sample Integration for Angular
<convoy-app [token]="token" [apiURL]="apiURL"></convoy-app>

The token generated from the API already has the context of the app you want to view, so you don't need to worry about that. App portal handles everything it needs within itself; all you need today are the two props listed above.

Installing App Portal

Angular

You can get started with using App Portal in your Angular application by following the three simple steps below:

  • Run npm i convoy-app in your existing Angular application to install the package
  • Import ConvoyAppModule into your application module as shown below
  • Add ConvoyApp to your HTML page
Adding Convoy App Portal Module to your Page/Application Module
import { ConvoyAppModule } from 'convoy-app';


@NgModule({
    ...
    imports: [..., ConvoyAppModule],
    ...

    )}
Adding Convoy App Portal Component to your HTML page
<convoy-app [token]="token" [apiURL]="apiURL"></convoy-app>

React

Adding App Portal to your React application can be done in two steps:

  • Run npm i convoy-app-react in your existing React application to install the package
  • Add ConvoyApp to your desired page
Adding Convoy App Portal Component to your Page Component
import { ConvoyApp } from 'convoy-app-react';
import 'convoy-app-react/dist/index.css';

...

<ConvoyApp token={'token'} apiURL={'apiURL'} />

...

Next Steps

The next steps:

  • Enabling UI Customization: Because App Portal will mostly reside on your customer platform, the next couple of updates will allow you to customize the look and feel of the page to suit your brand.

  • App Portal will always be up to date with Convoy Dashboard: We will continue to update App Portal with the latest features as we push and implement them on the main dashboard; with the necessary ones.

  • More functionalities: We'll be exposing more features to the App Portal as we seem fit, enabling your customers to focus on the essential things and letting you focus on building for them.

  • It is not the end: We're actively reviewing ways to make Convoy ridiculously easier to use. You can always be sure we'll always bring updates.

More Posts

post image

Introducing Convoy App Portal

One of the essential characteristics of a reliable webhooks infrastructure is visibility. We're enabling you to extend that visibility to your customers. Unlike the Convoy Dashboard, App Portal is for just one application; giving your customers a good and extensive..

post image

Introducing Convoy

After weeks of work, I'm pleased to announce our new tool — built to send webhooks efficiently. While building out our initial API on third-party monitoring, every user we spoke to wanted asynchronous events — "Do you provide webhooks to notify us about downtime?". We...