Include integration smartmeter microfrontend
This is a guide to help you integrate the microfrontend that authorizes the connection with Datadis.
Insert the microfrontend
You can insert the <clevergy-integration-smartmeter>
microfrontend by passing the JWT in the data-token
parameter. Check the Authentication section to see how to get a JWT token.
Insert the microfrontend
<html>
<head>
<!-- [...] -->
<script
type="module"
src="https://assets.clever.gy/clevergy-modules.js"
></script>
<!-- [...] -->
</head>
<body>
<!-- [...] -->
<clevergy-integration-smartmeter
data-token="jwt"
data-support-email="support@company.com"
data-consent-name="Company name"
data-opt-out-email="dpo@clever.gy"
/>
<!-- [...] -->
</body>
</html>
You should see this microfrontend in your application
info
What you see above is just an example with mock data. You should insert the microfrontend in your application.