API Integrations

Duda API

user: a3b1e404f9
password: 5YeCw8MYIhtv

megaphone

Integrate User by Email Address to display a user’s websites.


OpenAI API

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

AI Embedded Page - Simple Integration

The MindStudio AI application can easily be embedded and you can pass user info via a variable. Simply pass user ID through the iframe via a variable (you can use the e-mail)
<script type="text/javascript">
window.MindStudioSettings = {
publicToken: "pk31251a2cb8144fc212313f91e524e17e",
appId: "ac849700-2ed0-4f95-a7a1-797c3dbeae63",

// If your site/app has its own user IDs, replace this with the ID of the
// current user. Otherwise, delete this line.
userId: "YOUR_USER_ID",

// Mount the app on an iframe with a custom ID
targetId: "mindstudio-frame",

// Log additional debugging information to the console. Disable this for
// production.
debugging: true,

options: {
// Control whether the text input automatically focuses
autoFocus: false,

// Use launch variables to set dynamic variables that are available inside
// your app at launch time. For example, if your site already knows the
// user's name, you could set a variable here called "userName" and then
// use it inside your app. Access these variables in youur preamble or
// automations with the syntax {{$launchVariables->myVariable}}
//
// Note that these variables must be set BEFORE your app loads or they
// will not be available.
launchVariables: {
myVariable: "My Value"
}
}
};
</script>
<script src="https://api.youai.ai/v1/embed.js"></script>
<iframe id="mindstudio-frame" referrerpolicy="origin" style="width:900px;height:600px;border:1px solid rgba(0,0,0,0.1);border-radius:8px;outline:none;" title="AI Embed" frameborder="0"></iframe>
This link can't be embedded.
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.