Install Swishjam

Provider Setup

in your _app.js or top level layout import and setup Swishjam with your API key

_app.js
import { SwishjamProvider } from '@swishjam/react';

export default function App({ Component, pageProps }) {

    return (
        <SwishjamProvider apiKey='swishjam-XXXXX'>
            <Component {...pageProps} />
        </SwishjamProvider>
    )
} 

Update API key

Replace swishjam-XXXXXXXX with your API Key located in your Swishjam settings.

Swishjam supports multiple API keys:

  • Segment & combine data easier
  • Pre-built dashboards