You can embed a Slate portal in your institution's webpages by inserting HTML code that Slate generates. Before you begin, you should be familiar with portals and have a basic understanding of HTML and CSS.
On the Slate navigation bar, select Database → Portals.
Select the name of the portal to embed.
On the portal summary page, select Embed Portal.
From the list, select Allow embedding. A text field appears containing the HTML code that embeds the portal on your page.
Select the code in the text field and copy it.
Select Save.

Paste the code into the HTML of your page, at the place where the portal should appear. Account for the existing layout and format of the page.
Note
You can't embed a portal in a form or in another portal. Embed portals only on pages that Slate doesn't host, such as your institutional website.
Troubleshooting
If the portal doesn't appear after you paste the embed code into your page, work through the following.
Confirm that embedding is still allowed
Return to the portal summary page and select Embed Portal. Confirm that Allow embedding is still selected, and that the code on your page matches the code Slate generates.
Check whether your web platform accepts the code
The embed code is a script. Some institutional web platforms restrict the scripts that a page may load, and strip or refuse the code when you save the page. If the code disappears after you save, or the platform rejects it, ask whoever administers your website whether the platform permits embedded scripts from an external source.
Test the embed code outside your website
Paste the embed code into an online HTML editor and run it. This separates the portal from your website.
If the portal loads there, the embed code and the portal configuration are working. Continue troubleshooting with your website.
If the portal doesn't load there either, return to the portal configuration in Slate.
The portal loads but looks wrong
An embedded portal inherits the styles of the page that hosts it. If the layout, fonts, or colors differ from what you see in Slate, compare the CSS on the host page with the styles the portal expects.

