diff --git a/app/client/src/ce/pages/Applications/EmbedSnippetTab.tsx b/app/client/src/ce/pages/Applications/EmbedSnippetTab.tsx
index 31dab0062a..37642b65f9 100644
--- a/app/client/src/ce/pages/Applications/EmbedSnippetTab.tsx
+++ b/app/client/src/ce/pages/Applications/EmbedSnippetTab.tsx
@@ -52,13 +52,13 @@ export function ShareModal() {
);
const currentApplicationDetails = useSelector(getCurrentApplication);
const isPublicApp = currentApplicationDetails?.isPublic || false;
- const snippetUrl = getSnippetUrl(
- embedSnippet.appViewEndPoint,
- isPublicApp,
- selectedMethod,
- );
const isCloudBillingEnabled = useIsCloudBillingEnabled();
const isAiAgentFlowEnabled = useSelector(getIsAiAgentFlowEnabled);
+ const snippetUrl = getSnippetUrl(
+ embedSnippet.appViewEndPoint,
+ isPublicApp || isAiAgentFlowEnabled,
+ selectedMethod,
+ );
return (
@@ -107,7 +107,7 @@ export function ShareModal() {
)}
- {!isPublicApp && (
+ {!isPublicApp && !isAiAgentFlowEnabled && (
)}
-
- embedSnippet.onChange({
- showNavigationBar:
- !embedSnippet.currentEmbedSetting.showNavigationBar,
- })
- }
- >
- {createMessage(IN_APP_EMBED_SETTING.showNavigationBar)}
-
+ {Boolean(isAiAgentFlowEnabled) === false && (
+
+ embedSnippet.onChange({
+ showNavigationBar:
+ !embedSnippet.currentEmbedSetting.showNavigationBar,
+ })
+ }
+ >
+ {createMessage(IN_APP_EMBED_SETTING.showNavigationBar)}
+
+ )}
- {!isPublicApp && (
+ {!isPublicApp && !isAiAgentFlowEnabled && (
@@ -106,9 +108,10 @@ export function PrivateEmbedRampSidebar() {
false,
isPrivateEmbedEnabled,
);
+ const isAiAgentFlowEnabled = useSelector(getIsAiAgentFlowEnabled);
const canShowRamp = useSelector(showRampSelector);
- if (canShowRamp) {
+ if (canShowRamp && !isAiAgentFlowEnabled) {
return (