Recipe

Embed the Credicorp support widget

Add live support to any page with two tags. Load the widget stylesheet in the head and the widget script with defer, and the Credicorp support widget mounts itself and talks to the chat endpoint for you. There is no build step, no dependency, and no API key.

2 min read

2 tagsCSS + JS
no buildSelf-contained
publicNo key needed

Step 1 — add the assets

<link rel="stylesheet" href="https://hub.credicorp.co.uk/public/v1/support/widget.css">
<script src="https://hub.credicorp.co.uk/public/v1/support/widget.js" defer></script>

Step 2 — that is it

The script mounts the widget and wires it to POST /public/v1/support/chat. You do not manage sessions or transport yourself.

Caching the assets

The CSS and JS are static — let your CDN and the browser cache them aggressively. See Caching.

Being a good citizen

The chat endpoint is rate limited by IP (60/60 s). The widget debounces input, but if you script against the chat endpoint directly, keep messages sparse and honour 429s.

Frequently asked questions

Does the widget need any configuration?

No. Load the two assets and it mounts itself. It talks to the public chat endpoint with no key.

Can I style the widget?

Layer your own CSS after the widget stylesheet, but keep overrides light so future widget updates do not clash.

Funding for UK limited companies

Credicorp lends to your company, not to you personally — short-term working capital with no personal guarantee. See what your business could access.