This method allows you to programmatically show the OverhypedAI integration in your web app.
Use the connect method only if you have set autoConnect to false in the initOrg command options.
Invoke this method whenever you want to display the OverhypedAI integration in your web app after using the initOrg and initUser commands.
// NOTE: This is an optional parameter.const widgetOptions = { /** * Show/Hide the widget initially. This has no effect on the modal. * * Defaults to true. */ show?: boolean /** * Used to adjust the position of the widget relative to it's initial position. * * Defaults to { x: 0, y: 0 }. */ positionOffset?: { x?: number | string y?: number | string }}
import OverhypedAI from '@overhyped-ai/connect/OverhypedAI';OverhypedAI("connect", widgetOptions)
Connects the user to OverhypedAI. This is used only when autoConnect is set to false. Params:
Tag (Optional) is added for non-mandatory fields
widgetOptions: object (Optional): Options to customize the widget.
show: boolean (Optional): Show/Hide the widget initially. This has no effect on the modal.
positionOffset: object (Optional): Adjust the position of the widget relative to it’s initial position.
x: number | string (Optional): X-axis offset.
y: number | string (Optional): Y-axis offset.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Overhyped AI","colors":{"primary":"#5E17EB","light":"#C1FF72","dark":"#5E17EB"},"favicon":"/favicon.svg","styling":{"eyebrows":null,"codeblocks":"system"},"logo":{"light":"https://mintcdn.com/pingbase/ulz0zJalW48ggLce/logo/light.svg?fit=max\u0026auto=format\u0026n=ulz0zJalW48ggLce\u0026q=85\u0026s=214060219d002e80f1490a9b2bd611cb","dark":"https://mintcdn.com/pingbase/ulz0zJalW48ggLce/logo/dark.svg?fit=max\u0026auto=format\u0026n=ulz0zJalW48ggLce\u0026q=85\u0026s=240e66e97bf5243bc8eac65dbc08e9e6"},"background":{"decoration":"windows"},"navbar":{"links":[{"label":"Homepage","href":"https://www.overhyped.ai"}],"primary":null},"seo":{"metatags":{"robots":"noindex"},"indexing":"navigable"},"footer":{"socials":{}},"fonts":{"heading":{"family":"Inter"},"body":{"family":"Inter"}},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"pingbase","hasAudioNarration":false,"actualSubdomain":"pingbase","customDomains":["docs.overhyped.ai"],"gitSource":{"type":"github","owner":"pingbaseai","repo":"widget-integration-docs","deployBranch":"production","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a20c6ea82778299b3042007","collectionId":"51e794fc-4bbb-4435-a77f-1f6a1b2e569d","schemaVersion":"v2"},"entitlements":{},"buildId":"6a20c6ea82778299b3042007:success","clientVersion":"0.0.3965","searchFilterCounts":[{"language":"default","tag":"Widget Integration","count":7},{"language":"default","tag":"Methods","count":6}]},"assistantConfig":{},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"widget-integration/methods/connect","slug":"/widget-integration/methods/connect","pageMetadata":{"title":"connect - Connects the User","sidebarTitle":"connect","description":null,"href":"/widget-integration/methods/connect"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsxs(Heading,{level:`3`,id:`connect--overhypedai-“connect”-widgetoptions`,children:[_jsx(_components.code,{children:`connect`}),` : OverhypedAI(“connect”, widgetOptions?)`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`This method allows you to programmatically show the OverhypedAI integration in your web app.`}),`\n`,_jsxs(_components.li,{children:[`Use the `,_jsx(_components.code,{children:`connect`}),` method only if you have set `,_jsx(_components.code,{children:`autoConnect`}),` to `,_jsx(_components.code,{children:`false`}),` in the `,_jsx(_components.code,{children:`initOrg`}),` command options.`]}),`\n`,_jsxs(_components.li,{children:[`Invoke this method whenever you want to display the OverhypedAI integration in your web app after using the `,_jsx(_components.code,{children:`initOrg`}),` and `,_jsx(_components.code,{children:`initUser`}),` commands.`]}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`18`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`18`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// NOTE: This is an optional parameter.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` widgetOptions`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` /**`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` * Show/Hide the widget initially. This has no effect on the modal.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` * `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` * Defaults to true.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` */`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` show?`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` boolean`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` /**`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` * Used to adjust the position of the widget relative to it's initial position.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` *`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` * Defaults to { x: 0, y: 0 }.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` */`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` positionOffset`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` x?`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` number`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` string`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` y`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` number`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` string`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,highlight:`[3]`,numberOfLines:`3`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` OverhypedAI`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '@overhyped-ai/connect/OverhypedAI'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line line-highlight`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`OverhypedAI`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"connect\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`widgetOptions`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Connects the user to OverhypedAI. This is used only when `,_jsx(_components.code,{children:`autoConnect`}),` is set to `,_jsx(_components.code,{children:`false`}),`. Params:`]}),`\n`,_jsx(Tip,{children:`Tag (Optional) is added for non-mandatory fields`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`widgetOptions: object`}),` (Optional): Options to customize the widget.`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`show: boolean`}),` (Optional): Show/Hide the widget initially. This has no effect on the modal.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`positionOffset: object`}),` (Optional): Adjust the position of the widget relative to it’s initial position.`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`x: number | string`}),` (Optional): X-axis offset.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`y: number | string`}),` (Optional): Y-axis offset.`]}),`\n`]}),`\n`]}),`\n`]}),`\n`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"title":"connect - Connects the User","sidebarTitle":"connect","description":null,"href":"/widget-integration/methods/connect"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"connect : OverhypedAI(“connect”, widgetOptions?)","slug":"connect--overhypedai-“connect”-widgetoptions","depth":3,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"pingbase","siteName":"Overhyped AI","title":"connect - Connects the User - Overhyped AI","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-07T05:51:51.729Z","originalFileLocation":"widget-integration/methods/connect.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Overhyped AI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"noindex\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/pingbase/5HTnLAx7kZvsW8gg/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/pingbase/5HTnLAx7kZvsW8gg/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/pingbase/5HTnLAx7kZvsW8gg/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/pingbase/5HTnLAx7kZvsW8gg/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/pingbase/5HTnLAx7kZvsW8gg/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/pingbase/5HTnLAx7kZvsW8gg/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/pingbase/5HTnLAx7kZvsW8gg/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/pingbase/5HTnLAx7kZvsW8gg/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/pingbase/5HTnLAx7kZvsW8gg/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"connect - Connects the User - Overhyped AI\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Overhyped AI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.overhyped.ai/widget-integration/methods/connect\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://pingbase.mintlify.app/_mintlify/api/og/v2?division=Methods\u0026amp;title=connect+-+Connects+the+User\u0026amp;theme=df39ecf0595f62eec3d05595\u0026amp;signature=610f6efa5ce327bdf39a5f4fcd95ce6775a108c6e84b0068b0d4df1d6e3cac4c\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"connect - Connects the User - Overhyped AI\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://pingbase.mintlify.app/_mintlify/api/og/v2?division=Methods\u0026amp;title=connect+-+Connects+the+User\u0026amp;theme=df39ecf0595f62eec3d05595\u0026amp;signature=610f6efa5ce327bdf39a5f4fcd95ce6775a108c6e84b0068b0d4df1d6e3cac4c\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/pingbase/5HTnLAx7kZvsW8gg/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Overhyped AI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#5E17EB\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.overhyped.ai/widget-integration/methods/connect\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/widget-integration/methods/connect.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.overhyped.ai/#organization\",\"name\":\"Overhyped AI\",\"url\":\"https://docs.overhyped.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/pingbase/ulz0zJalW48ggLce/logo/light.svg?fit=max\u0026auto=format\u0026n=ulz0zJalW48ggLce\u0026q=85\u0026s=214060219d002e80f1490a9b2bd611cb\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.overhyped.ai#website\",\"name\":\"Overhyped AI\",\"url\":\"https://docs.overhyped.ai\",\"publisher\":{\"@id\":\"https://docs.overhyped.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.overhyped.ai/widget-integration/methods/connect#webpage\",\"url\":\"https://docs.overhyped.ai/widget-integration/methods/connect\",\"name\":\"connect - Connects the User\",\"dateModified\":\"2026-01-07T05:51:51.729Z\",\"isPartOf\":{\"@id\":\"https://docs.overhyped.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.overhyped.ai/widget-integration/methods/connect#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.overhyped.ai/widget-integration/methods/connect#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Widget Integration\",\"item\":\"https://docs.overhyped.ai/widget-integration/quick-start-guide\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Methods\",\"item\":\"https://docs.overhyped.ai/widget-integration/methods/info\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"connect - Connects the User\",\"item\":\"https://docs.overhyped.ai/widget-integration/methods/connect\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.overhyped.ai/widget-integration/methods/connect#article\",\"headline\":\"connect - Connects the User\",\"name\":\"connect - Connects the User\",\"url\":\"https://docs.overhyped.ai/widget-integration/methods/connect\",\"mainEntityOfPage\":{\"@id\":\"https://docs.overhyped.ai/widget-integration/methods/connect#webpage\"},\"dateModified\":\"2026-01-07T05:51:51.729Z\",\"publisher\":{\"@id\":\"https://docs.overhyped.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.overhyped.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Overhyped AI\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Overhyped AI","nav":{"global":null,"groups":[{"group":"","pages":[{"title":"Introduction","href":"/general/introduction"}]},{"group":"Widget Integration","pages":[{"title":"Quick Start Guide","icon":"rocket","href":"/widget-integration/quick-start-guide"},{"group":"Methods","icon":"code","pages":[{"title":"Methods and it's uses","href":"/widget-integration/methods/info"},{"title":"initOrg - Initializes the Organization","sidebarTitle":"initOrg","href":"/widget-integration/methods/initOrg"},{"title":"initUser - Initializes the User","sidebarTitle":"initUser","description":null,"href":"/widget-integration/methods/initUser"},{"title":"connect - Connects the User","sidebarTitle":"connect","href":"/widget-integration/methods/connect"},{"title":"updateOptions - Upates the initial options","sidebarTitle":"updateOptions","description":null,"href":"/widget-integration/methods/updateOptions"},{"title":"disconnect - Disonnects the User","sidebarTitle":"disconnect","href":"/widget-integration/methods/disconnect"}]}]}]},"title":"connect - Connects the User - Overhyped AI","buildId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","deploymentId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","dynamics":[],"chunks":[]}