Partner Integration Guide

This comprehensive guide will help you integrate Pasture Portal into your website. Learn how to embed our partner interface and provide data access to your users.

📋

Getting Started

Embedding Pasture Portal on your website is simple. You'll need your unique partner token, which is provided in your partner dashboard.

Basic Implementation

Iframe Embed Code

Copy and paste this code into your HTML where you want the Pasture Portal interface to appear:

<iframe src="https://pastureportal.com.au/partner/?token=YOUR_API_KEY" width="100%" height="600" frameborder="0" style="border:0; overflow:auto;" ></iframe>

⚠️ Important: Replace YOUR_API_KEY with your actual partner token from the dashboard.

📝

Step-by-Step Instructions

  1. Get Your API Key
    Log in to your partner dashboard and navigate to the API section to find your unique token.
  2. Copy the Embed Code
    Use the code snippet provided above and replace YOUR_API_KEY with your actual token.
  3. Add to Your Website
    Paste the iframe code into your HTML file where you want the interface to display.
  4. Test the Integration
    Load your webpage and verify that the Pasture Portal interface appears correctly.
🎨

Customization Options

Iframe Parameters

You can customize the iframe behavior using these parameters:

Parameter Type Description Example
width string Set the width of the iframe "100%" or "800px"
height string Set the height of the iframe "600" or "800"
frameborder string Show or hide the border "0" (no border)
🔧

Troubleshooting

Common Issues

Issue Solution
Iframe not displaying Verify your API key is correct and active in the dashboard
Content appears cut off Increase the height parameter or use responsive CSS
Access denied error Check that your partner account has proper permissions enabled