Learn how to set up hosted integration with ClickPesa, including creating applications, managing API keys, and retrieving credentials.
Authentication Overview
Client ID - Remains accessible in your application settings and is also required for API authentication.API Key - It is required for API authentication, displayed only once during creation. Copy and store it securelyJWT Token - API Key and Client ID are exchanged for a short-lived JWT Token, that will be used for the API call to generate hosted linksOTP Authorization - Depending on the actions, users may also be required to provide OTP code via their Two-Factor Authentication (2FA) method
Click Create Application to begin the setup process.
Step 4: Configure Application Details
When creating your application, provide the following details:
Application Name: Choose a name to identify your app.
Integration Type: Select Hosted.
Features: Choose the features needed (e.g. Hosted Checkout, Hosted Payout).
Return URL: The Return URL is used in hosted solutions to redirect users after they have completed a payment or payout.
Step 5: Submit Your Application
Click Create to finalize the application setup.
Managing API Keys
Important: Keep your API credentials secure and do not share them publicly.
Access API Keys
Navigate to Settings in the ClickPesa dashboard.
Go to the Developers section.
Select the application for which you want to manage API keys.
Click Manage API Keys in the application settings.
A panel will appear, showing the list of existing API keys, including:
Name: Assigned name of the API key.
Last Activity: Date of last use.
Revoke Button: Option to deactivate the key.
Adding a New API Key
Navigate to Settings in the ClickPesa dashboard.
Go to the Developers section.
Select the application for which you want to create an API key.
Click Manage API Keys in the application settings.
Click Add API Key.
A modal will appear where you can enter the required details:
Name: A label for the API key.
Expiry Date: Define when the key will expire.
Click Submit to proceed.
The modal will prompt you to enter your password for confirmation.
After successfully confirming your password, the API key will be created.
The modal will then display:
The Client ID and newly generated API Key.
The Expiry Date.
{"docsConfig":{"theme":"palm","$schema":"https://mintlify.com/docs.json","name":"ClickPesa Documentation","description":"ClickPesa API Documentation","colors":{"primary":"#e6c602","light":"#fbd906","dark":"#fbe550"},"logo":{"light":"https://mintcdn.com/clickpesa/qdSCR2hZ0bZ9aNG2/logo/light.png?fit=max\u0026auto=format\u0026n=qdSCR2hZ0bZ9aNG2\u0026q=85\u0026s=0c7d827509008d22f2ae1572a6c7821c","dark":"https://mintcdn.com/clickpesa/qdSCR2hZ0bZ9aNG2/logo/dark.png?fit=max\u0026auto=format\u0026n=qdSCR2hZ0bZ9aNG2\u0026q=85\u0026s=f738996085c1fb0884dcd49a587c19b5"},"favicon":"https://mintcdn.com/clickpesa/qdSCR2hZ0bZ9aNG2/favicon.png?fit=max\u0026auto=format\u0026n=qdSCR2hZ0bZ9aNG2\u0026q=85\u0026s=69ce6a97d09d672973f96138ffebc55b","background":{"color":{"light":"#ffffff","dark":"#181a1b"}},"navbar":{"links":[{"href":"mailto:aly@clickpesa.com","label":"Support"}],"primary":{"type":"button","label":"Register","href":"https://merchant.clickpesa.com/account-registration"}},"footer":{"socials":{"x":"https://x.com/clickpesa","linkedin":"https://www.linkedin.com/company/clickpesa"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"clickpesa","hasAudioNarration":false,"actualSubdomain":"clickpesa","customDomains":["docs.clickpesa.com"],"gitSource":{"type":"github","owner":"clickpesa","repo":"developers.docs","deployBranch":"release-v1.0.0","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6af4202c911eab1428da364b","clientVersion":"0.0.4205","searchFilterCounts":[{"language":"default","tag":"API Explorer","count":38},{"language":"default","tag":"How It Works","count":38},{"language":"default","tag":"Merchant Dashboard","count":27},{"language":"default","tag":"Getting Started","count":14},{"language":"default","tag":"Settings","count":8},{"language":"default","tag":"BILLPAY","count":7},{"language":"default","tag":"BillPay","count":7},{"language":"default","tag":"BANK PAYOUTS","count":5},{"language":"default","tag":"LIPA NAMBA PAYOUTS","count":5},{"language":"default","tag":"Hosted Checkout","count":5}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".payment-methods-card .card img{width:6em;margin:auto;padding-top:1em}#sidebar{width:auto}#footer>div>div{display:none}"}],"page":{"pagePath":"application/hosted-application-setup","slug":"/application/hosted-application-setup","pageMetadata":{"title":"Hosted Integration Setup","description":"Learn how to set up hosted integration with ClickPesa, including creating applications, managing API keys, and retrieving credentials.","icon":"up-right-from-square","href":"/application/hosted-application-setup"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Learn how to set up hosted integration with ClickPesa, including creating applications, managing API keys, and retrieving credentials.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`authentication-overview`,children:`Authentication Overview`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`#authentication-overview`,children:`Client ID`}),` - Remains accessible in your application settings and is also required for API authentication.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`#authentication-overview`,children:`API Key`}),` - It is required for API authentication, displayed `,_jsx(_components.strong,{children:`only once`}),` during creation. `,_jsx(_components.strong,{children:`Copy and store it securely`})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`#authentication-overview`,children:`JWT Token`}),` - `,_jsx(_components.code,{children:`API Key`}),` and `,_jsx(_components.code,{children:`Client ID`}),` are `,_jsx(_components.a,{href:`api-reference/authorization/generate-token`,children:`exchanged`}),` for a short-lived `,_jsx(_components.code,{children:`JWT Token`}),`, that will be used for the API call to generate hosted links`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`#authentication-overview`,children:`OTP Authorization`}),` - Depending on the actions, users may also be required to provide OTP code via their `,_jsx(_components.strong,{children:`Two-Factor Authentication`}),` (2FA) method`]}),`\n`,_jsx(Heading,{level:`2`,id:`application-setup`,children:`Application Setup`}),`\n`,_jsx(Heading,{level:`3`,id:`step-1-log-in-to-the-clickpesa-dashboard`,children:`Step 1: Log in to the ClickPesa Dashboard`}),`\n`,_jsxs(_components.p,{children:[`Go to the `,_jsx(_components.a,{href:`https://merchant.clickpesa.com`,children:`ClickPesa Dashboard`}),` and log in with your credentials.`]}),`\n`,_jsx(Heading,{level:`3`,id:`step-2-access-developer-settings`,children:`Step 2: Access Developer Settings`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`In the dashboard, click `,_jsx(_components.strong,{children:`Settings`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Navigate to the `,_jsx(_components.strong,{children:`Developers`}),` section.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`step-3-create-a-new-application`,children:`Step 3: Create a New Application`}),`\n`,_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Create Application`}),` to begin the setup process.`]}),`\n`,_jsx(Heading,{level:`3`,id:`step-4-configure-application-details`,children:`Step 4: Configure Application Details`}),`\n`,_jsx(_components.p,{children:`When creating your application, provide the following details:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Application Name`}),`: Choose a name to identify your app.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Integration Type`}),`: Select `,_jsx(_components.strong,{children:`Hosted`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Features`}),`: Choose the features needed (e.g. `,_jsx(_components.strong,{children:`Hosted Checkout`}),`, `,_jsx(_components.strong,{children:`Hosted Payout`}),`).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Return URL`}),`: The Return URL is used in hosted solutions to redirect users after they have completed a payment or payout.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`step-5-submit-your-application`,children:`Step 5: Submit Your Application`}),`\n`,_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Create`}),` to finalize the application setup.`]}),`\n`,_jsx(Heading,{level:`2`,id:`managing-api-keys`,children:`Managing API Keys`}),`\n`,_jsxs(Warning,{children:[` `,_jsx(_components.strong,{children:`Important`}),`: Keep your API credentials secure and do not share them publicly.`]}),`\n`,_jsx(Heading,{level:`3`,id:`access-api-keys`,children:`Access API Keys`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Navigate to `,_jsx(_components.strong,{children:`Settings`}),` in the ClickPesa dashboard.`]}),`\n`,_jsxs(_components.li,{children:[`Go to the `,_jsx(_components.strong,{children:`Developers`}),` section.`]}),`\n`,_jsx(_components.li,{children:`Select the application for which you want to manage API keys.`}),`\n`,_jsxs(_components.li,{children:[`Click `,_jsx(_components.strong,{children:`Manage API Keys`}),` in the application settings.`]}),`\n`,_jsxs(_components.li,{children:[`A panel will appear, showing the list of existing API keys, including:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Name`}),`: Assigned name of the API key.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Last Activity`}),`: Date of last use.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Revoke Button`}),`: Option to deactivate the key.`]}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`adding-a-new-api-key`,children:`Adding a New API Key`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Navigate to `,_jsx(_components.strong,{children:`Settings`}),` in the ClickPesa dashboard.`]}),`\n`,_jsxs(_components.li,{children:[`Go to the `,_jsx(_components.strong,{children:`Developers`}),` section.`]}),`\n`,_jsx(_components.li,{children:`Select the application for which you want to create an API key.`}),`\n`,_jsxs(_components.li,{children:[`Click `,_jsx(_components.strong,{children:`Manage API Keys`}),` in the application settings.`]}),`\n`,_jsxs(_components.li,{children:[`Click `,_jsx(_components.strong,{children:`Add API Key`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`A modal will appear where you can enter the required details:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Name`}),`: A label for the API key.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Expiry Date`}),`: Define when the key will expire.`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`Click `,_jsx(_components.strong,{children:`Submit`}),` to proceed.`]}),`\n`,_jsx(_components.li,{children:`The modal will prompt you to enter your password for confirmation.`}),`\n`,_jsx(_components.li,{children:`After successfully confirming your password, the API key will be created.`}),`\n`,_jsxs(_components.li,{children:[`The modal will then display:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`The `,_jsx(_components.strong,{children:`Client ID`}),` and newly generated `,_jsx(_components.strong,{children:`API Key`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`The `,_jsx(_components.strong,{children:`Expiry Date`}),`.`]}),`\n`]}),`\n`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Hosted Integration Setup","description":"Learn how to set up hosted integration with ClickPesa, including creating applications, managing API keys, and retrieving credentials.","icon":"up-right-from-square","href":"/application/hosted-application-setup"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Authentication Overview","slug":"authentication-overview","depth":2,"children":[]},{"title":"Application Setup","slug":"application-setup","depth":2,"children":[{"title":"Step 1: Log in to the ClickPesa Dashboard","slug":"step-1-log-in-to-the-clickpesa-dashboard","depth":3,"children":[]},{"title":"Step 2: Access Developer Settings","slug":"step-2-access-developer-settings","depth":3,"children":[]},{"title":"Step 3: Create a New Application","slug":"step-3-create-a-new-application","depth":3,"children":[]},{"title":"Step 4: Configure Application Details","slug":"step-4-configure-application-details","depth":3,"children":[]},{"title":"Step 5: Submit Your Application","slug":"step-5-submit-your-application","depth":3,"children":[]}]},{"title":"Managing API Keys","slug":"managing-api-keys","depth":2,"children":[{"title":"Access API Keys","slug":"access-api-keys","depth":3,"children":[]},{"title":"Adding a New API Key","slug":"adding-a-new-api-key","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"subdomain":"clickpesa","siteName":"ClickPesa Documentation","title":"Hosted Integration Setup - ClickPesa Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2025-08-11T19:40:00.191Z","originalFileLocation":"application/hosted-application-setup.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Learn how to set up hosted integration with ClickPesa, including creating applications, managing API keys, and retrieving credentials.\">\u003cmeta data-mint-head name=\"application-name\" content=\"ClickPesa Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/clickpesa/PSQHr0_JRNaAV5W5/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/clickpesa/PSQHr0_JRNaAV5W5/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/clickpesa/PSQHr0_JRNaAV5W5/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/clickpesa/PSQHr0_JRNaAV5W5/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/clickpesa/PSQHr0_JRNaAV5W5/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/clickpesa/PSQHr0_JRNaAV5W5/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/clickpesa/PSQHr0_JRNaAV5W5/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/clickpesa/PSQHr0_JRNaAV5W5/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/clickpesa/PSQHr0_JRNaAV5W5/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Hosted Integration Setup - ClickPesa Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Learn how to set up hosted integration with ClickPesa, including creating applications, managing API keys, and retrieving credentials.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"ClickPesa Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.clickpesa.com/application/hosted-application-setup\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://clickpesa.mintlify.site/_mintlify/api/og/v2?division=Integration+Setup\u0026amp;title=Hosted+Integration+Setup\u0026amp;description=Learn+how+to+set+up+hosted+integration+with+ClickPesa%2C+including+creating+applications%2C+managing+API+keys%2C+and+retrieving+credentials.\u0026amp;theme=23bfaf57b6f15b5e659cc1e8\u0026amp;signature=ce8bd3d861b4f33e3df2821335ffcf4dd838400b282ef83fb89fc07874d23f24\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Hosted Integration Setup - ClickPesa Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Learn how to set up hosted integration with ClickPesa, including creating applications, managing API keys, and retrieving credentials.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://clickpesa.mintlify.site/_mintlify/api/og/v2?division=Integration+Setup\u0026amp;title=Hosted+Integration+Setup\u0026amp;description=Learn+how+to+set+up+hosted+integration+with+ClickPesa%2C+including+creating+applications%2C+managing+API+keys%2C+and+retrieving+credentials.\u0026amp;theme=23bfaf57b6f15b5e659cc1e8\u0026amp;signature=ce8bd3d861b4f33e3df2821335ffcf4dd838400b282ef83fb89fc07874d23f24\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/clickpesa/PSQHr0_JRNaAV5W5/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"ClickPesa Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#e6c602\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.clickpesa.com/application/hosted-application-setup\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/application/hosted-application-setup.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.clickpesa.com/#organization\",\"name\":\"ClickPesa Documentation\",\"url\":\"https://docs.clickpesa.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/clickpesa/qdSCR2hZ0bZ9aNG2/logo/light.png?fit=max\u0026auto=format\u0026n=qdSCR2hZ0bZ9aNG2\u0026q=85\u0026s=0c7d827509008d22f2ae1572a6c7821c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.clickpesa.com#website\",\"name\":\"ClickPesa Documentation\",\"url\":\"https://docs.clickpesa.com\",\"publisher\":{\"@id\":\"https://docs.clickpesa.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.clickpesa.com/application/hosted-application-setup#webpage\",\"url\":\"https://docs.clickpesa.com/application/hosted-application-setup\",\"name\":\"Hosted Integration Setup\",\"description\":\"Learn how to set up hosted integration with ClickPesa, including creating applications, managing API keys, and retrieving credentials.\",\"dateModified\":\"2025-08-11T19:40:00.191Z\",\"isPartOf\":{\"@id\":\"https://docs.clickpesa.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.clickpesa.com/application/hosted-application-setup#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.clickpesa.com/application/hosted-application-setup#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Integration Setup\",\"item\":\"https://docs.clickpesa.com/application/api-application-setup\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Hosted Integration Setup\",\"item\":\"https://docs.clickpesa.com/application/hosted-application-setup\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.clickpesa.com/application/hosted-application-setup#article\",\"headline\":\"Hosted Integration Setup\",\"name\":\"Hosted Integration Setup\",\"description\":\"Learn how to set up hosted integration with ClickPesa, including creating applications, managing API keys, and retrieving credentials.\",\"url\":\"https://docs.clickpesa.com/application/hosted-application-setup\",\"mainEntityOfPage\":{\"@id\":\"https://docs.clickpesa.com/application/hosted-application-setup#webpage\"},\"dateModified\":\"2025-08-11T19:40:00.191Z\",\"publisher\":{\"@id\":\"https://docs.clickpesa.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.clickpesa.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"ClickPesa Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"ClickPesa Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/application/hosted-application-setup.md","siteName":"ClickPesa Documentation","nav":{"global":null,"tabs":[{"tab":"Getting Started","pages":[{"title":"Quickstart","icon":"rocket","href":"/home/introduction"},{"title":"Get Started With ClickPesa","icon":"circle-play","href":"/home/onboarding"},{"title":"Changelog","icon":"timer","href":"/home/changelog"},{"group":"Account Access","pages":[{"title":"Login and Password Reset","href":"/home/login-password-reset"},{"title":"Instant Web Access","href":"/home/instant-web-access"}]},{"group":"Integration Guides","pages":[{"title":"Overview","icon":"compass","href":"/home/integration-overview"},{"title":"Payment Statuses","icon":"circle-info","href":"/home/payment-status"},{"title":"Payout Statuses","icon":"circle-info","href":"/home/payout-status"},{"title":"Sandbox and Testing Environment","icon":"flask","href":"/home/sandbox-and-testing-environment"}]},{"group":"Integration Configurations","pages":[{"title":"Webhooks","icon":"webhook","href":"/home/webhooks"},{"title":"Whitelist IP","icon":"ban","href":"/home/whitelisted-ip-address"},{"title":"Checksum","icon":"lock","href":"/home/checksum"}]},{"group":"Integration Setup","icon":"gear","pages":[{"title":"API Integration Setup","description":"Learn how to set up API integration with ClickPesa, including creating applications, managing API keys, and retrieving credentials","icon":"brackets-curly","href":"/application/api-application-setup"},{"title":"Hosted Integration Setup","icon":"up-right-from-square","href":"/application/hosted-application-setup"},{"title":"Embedded Integration Setup","description":"Learn how to set up an embedded integration with ClickPesa to seamlessly integrate payment services into your application.","icon":"diamonds-4","href":"/application/embedded-application-setup"}]}]},{"tab":"Merchant Dashboard","pages":[{"title":"Merchant Dashboard","href":"/dashboard/dashboard-overview"}]},{"tab":"Hosted Checkout","pages":[{"title":"Hosted Checkout","href":"/checkout/checkout-overview"}]},{"tab":"Mobile USSD-PUSH API","pages":[{"title":"Mobile USSD-PUSH API","href":"/payment-api/mobile-money-payment-api/mobile-money-payment-api-overview"}]},{"tab":"Card API","pages":[{"title":"Card API","href":"/payment-api/card-payment-api/card-payment-api-overview"}]},{"tab":"BillPay","pages":[{"title":"BillPay","href":"/bill-pay/bill-pay-overview"}]},{"tab":"TanQR/Lipa Namba","pages":[{"title":"TanQR/Lipa Namba","href":"/tan-qr/tan-qr-overview"}]},{"tab":"CRDB Direct Debit","pages":[{"title":"CRDB Direct Debit","href":"/crdb-direct-debit/crdb-direct-debit-overview"}]},{"tab":"Mobile Payouts API","pages":[{"title":"Mobile Payouts API","href":"/payout-api/mobile-money-payout-api/mobile-money-payout-api-overview"}]},{"tab":"Bank Payout API","pages":[{"title":"Bank Payout API","href":"/payout-api/bank-payout-api/bank-payout-api-overview"}]},{"tab":"Lipa Namba Payout API","pages":[{"title":"Lipa Namba Payout API","href":"/payout-api/lipa-namba-payout-api/lipa-namba-payout-api-overview"}]},{"tab":"ClickPesa Payout Widgets","hidden":true,"pages":[{"title":"ClickPesa Payout Widgets","href":"/payout-widgets/payout-widgets-overview"}]},{"tab":"Plugins and SDK","pages":[{"title":"Plugins and SDK","href":"/sdk-plugins/plugins-and-extensions"}]},{"tab":"API Explorer","pages":[{"title":"API Explorer","href":"/api-reference/authorization/generate-token"}]}]},"basePath":"","title":"Hosted Integration Setup - ClickPesa Documentation","deploymentId":"dpl_FZMKUpaaKiVETbfqhoUe4sPFDTmY","buildId":"dpl_FZMKUpaaKiVETbfqhoUe4sPFDTmY","dynamics":[],"chunks":[]}