Deploying the Secure Corporate Chat
SafePipe provides a production-ready Next.js chat interface that you can host on your own internal network (Vercel/Docker). It is pre-configured to use SafePipe for GDPR compliance.
PII automatically redacted before reaching AI
Clone, configure, and run in minutes
Runs on your infrastructure, your rules
1Prerequisites
Create an API key from the Dashboard. Make sure to enable "Mask Emails" in the protection settings for full PII coverage.
The template uses Next.js 15 with App Router. Ensure you have Node.js 18 or higher installed. Download Node.js
2Installation Steps
Clone the Repository
git clone https:"text-zinc-500">//github.com/volodimir332/safepipe-chat-starter.git cd safepipe-chat-starterInstall Dependencies
npm installCreate Environment File
Create a .env.local file in the project root:
"text-zinc-500"># Your SafePipe API Key (get it from dashboard.safepipe.eu)
SAFEPIPE_API_KEY=sp_live_...
"text-zinc-500"># Your AI Provider Key (OpenAI, DeepSeek, etc.)
PROVIDER_API_KEY=sk-...
"text-zinc-500"># Optional: Default model to use
DEFAULT_MODEL=gpt-5.1-instantStart the Development Server
npm run devOpen http://localhost:3000 to see your corporate chat interface.
3Production Deployment
npx vercel --prodAdd environment variables in Vercel dashboard
docker build -t corp-chat .
docker run -p 3000:3000 corp-chatDockerfile included in the template
Security Note
Stateless & Secure by Design
This chat UI does not store message history. Each conversation exists only in the browser session and is cleared on refresh.
- No database required for chat functionality
- Messages are not persisted anywhere
- PII is redacted before sending to AI providers
- Zero logs policy for enterprise privacy
✓ Stateless interface secure for enterprise use