dograh/ui/src/app/settings/page.tsx
Abhishek cdbd06c8d9
feat: add config v2 to simplify billing (#428)
* feat: add model config v2

* chore: centralize user org selection

* chore: move preferences to platform settings

* fix: decouple org preference and ai model preferences
2026-06-09 16:10:26 +05:30

83 lines
2.5 KiB
TypeScript

"use client";
import { ExternalLink } from "lucide-react";
import { MCPSection } from "@/components/MCPSection";
import { OrganizationPreferencesSection } from "@/components/OrganizationPreferencesSection";
import { TelemetrySection } from "@/components/TelemetrySection";
import {
Card,
CardContent,
CardDescription,
CardHeader,
CardTitle,
} from "@/components/ui/card";
export default function SettingsPage() {
return (
<div className="flex justify-center py-12 px-4">
<div className="w-full max-w-2xl space-y-6">
<div>
<h1 className="text-2xl font-bold">Platform Settings</h1>
<p className="text-muted-foreground">
Manage your platform configuration and integrations.
</p>
</div>
<Card>
<CardHeader>
<CardTitle>Preferences</CardTitle>
<CardDescription>
Set organization-wide defaults such as the test phone number and
timezone.
</CardDescription>
</CardHeader>
<CardContent>
<OrganizationPreferencesSection />
</CardContent>
</Card>
<Card>
<CardHeader>
<CardTitle>MCP Server</CardTitle>
<CardDescription>
Let AI agents access your Dograh workspace and documentation via
the Model Context Protocol.{" "}
<a
href="https://docs.dograh.com/integrations/mcp"
target="_blank"
rel="noopener noreferrer"
className="inline-flex items-center gap-0.5 underline"
>
Learn more <ExternalLink className="h-3 w-3" />
</a>
</CardDescription>
</CardHeader>
<CardContent>
<MCPSection />
</CardContent>
</Card>
<Card>
<CardHeader>
<CardTitle>Telemetry</CardTitle>
<CardDescription>
Configure Langfuse tracing for your voice agent calls.{" "}
<a
href="https://docs.dograh.com/configurations/tracing"
target="_blank"
rel="noopener noreferrer"
className="inline-flex items-center gap-0.5 underline"
>
Learn more <ExternalLink className="h-3 w-3" />
</a>
</CardDescription>
</CardHeader>
<CardContent>
<TelemetrySection />
</CardContent>
</Card>
</div>
</div>
);
}