API & Integration Documentation
Learn how to integrate InPAT's course portal into your website or application.
Choose Integration Method
Select a method to view the documentation.
Website Integration (iframe)
An iframe is the simplest way to embed the InPAT student portal directly into your own website. This allows students to sign up and access courses without leaving your domain.
Standard Integration URL
Your unique portal URL will contain your Branch ID.
https://inpatpro.com/student/signup?branch=YOUR_BRANCH_ID
Plain HTML Implementation
Paste this code into your HTML file where you want the portal to appear.
<iframe
src="https://inpatpro.com/student/signup?branch=YOUR_BRANCH_ID"
width="100%"
height="800"
style="border:none;"
title="InPAT Course Portal"
allow="fullscreen; geolocation;">
</iframe>
Attributes Explained:
- src: The URL of the portal with your unique branch ID.
- width / height: Controls dimensions. We recommend 100% width and at least 800px height.
- allow: "fullscreen" enables video playback in full screen.
React.js Component
import React from 'react';
function InpatPortal({ branchId }) {
const portalUrl = `https://inpatpro.com/student/signup?branch=${branchId}`;
return (
<iframe
src={portalUrl}
width="100%"
height="800px"
style={{ border: 'none' }}
title="InPAT Course Portal"
allow="fullscreen; geolocation;"
/>
);
}
export default InpatPortal;