---
title: "Embed Kotlin Playground Code in Relayto for Programming Tutorials"
description: "Enable Kotlin programming tutorials in Relayto with Kotlin Playground integration. Embed online Kotlin code sandbox for interactive programming examples directly within your Relayto documents."
canonical: "https://relayto.com/integrations/kotlin-playground"
---

# Embed Kotlin Playground on PDF, presentation & RELAYTO

> Enable Kotlin programming tutorials in Relayto with Kotlin Playground integration. Embed online Kotlin code sandbox for interactive programming examples directly within your Relayto documents.

- Web page: https://relayto.com/integrations/kotlin-playground
- Index of relayto.com for agents: https://relayto.com/llms.txt

[All Integrations](https://relayto.com/integrations)

[Rich](https://relayto.com/integrations)

Add Rich embed from Kotlin Playground

Kotlin Playground is an online sandbox to explore Kotlin programming language,browse code samples directly in the browser

## How to embed Kotlin Playground

**Embed Kotlin Playground and track analytics**

1\. [Sign Up for RELAYTO account](https://relayto.com/signin?new-account)  
2\. Click "Add new content", select "Add Web Content" and provide URL

3\. Share your new embed experience

4\. See the analytics data

**Embed Kotlin Playground and capture leads**

To add embed to a hub:  
1\. [Sign Up for RELAYTO account](https://relayto.com/signin?new-account)  
2\. Click "Add new content", select "Add Web Content" and provide URL

3\. Select "Require email to view" privacy settings

4\. Receive email notifications about new leads viewing the experience

**Embed Kotlin Playground on a PDF page**

To add embed on the PDF page:  
1\. [Sign Up for RELAYTO account](https://relayto.com/signin?new-account)  
2\. [Upload PDF to RELAYTO](https://relayto.com/relayto/experience-academy-intro-videos-101-xdk2vu5leerzu/slides?hub=academy-602b9a09d6f42&hub-nav=sidebar)  
3\. Use RELAYTO interactivity toolkit to add a widget on a page

**Open Kotlin Playground embed on button/link click**

To add hotspot on the PDF page:  
1\. [Sign Up for RELAYTO account](https://relayto.com/signin?new-account)  
2\. [Upload PDF to RELAYTO](https://relayto.com/relayto/experience-academy-intro-videos-101-xdk2vu5leerzu/slides?hub=academy-602b9a09d6f42&hub-nav=sidebar)

3\. Use RELAYTO interactivity toolkit to add a hotspot/button on a page  
4\. For the hotspost, "Action on Click" and provide the URL of the page

## Supported URL patterns

RELAYTO turns a Kotlin Playground link into a live embed when it matches one of these:

- `https://play.kotlinlang.org/embed#*`
- `http://play.kotlinlang.org/embed#*http://pl.kotl.in/*`
- `https://pl.kotl.in/*`

## More Rich integrations

- [Airtable](https://relayto.com/integrations/airtable)
- [Canva](https://relayto.com/integrations/canva)
- [Coda](https://relayto.com/integrations/coda)
- [Figma](https://relayto.com/integrations/figma)
- [GitHub](https://relayto.com/integrations/github)
- [Google Maps](https://relayto.com/integrations/google-maps)
- [JotForm](https://relayto.com/integrations/jotform)
- [Prezi](https://relayto.com/integrations/prezi)
