Build an AI Salary Negotiation Coach App with AI Pass SDK
Build an AI Salary Negotiation Coach App with AI Pass SDK
Salary negotiation is a skill most people never get enough practice with. What if you could build an app that coaches anyone through any negotiation — job offers, raises, freelance rates? With the AI Pass SDK, it's a weekend project.
What You'll Build
An app where users input:
- Their current salary and target
- Job title and industry
- Specific negotiation scenario (new offer, raise, promotion)
And get back:
- A personalized negotiation script
- Counterpoint responses to common pushback
- Psychology-backed strategies
Step 1: Get Your Client ID
- Sign up at aipass.one
- Go to Developer Dashboard → OAuth2 Clients
- Create a new client — copy your
YOUR_CLIENT_ID
Step 2: Build the App
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>AI Salary Negotiation Coach</title>
<script src="https://aipass.one/aipass-sdk.js"></script>
<style>
body { font-family: sans-serif; max-width: 700px; margin: 40px auto; padding: 20px; }
select, input, textarea { width: 100%; margin: 8px 0 16px; padding: 10px; border: 1px solid #ddd; border-radius: 6px; }
button { background: #6c5ce7; color: white; padding: 12px 24px; border: none; border-radius: 6px; cursor: pointer; font-size: 16px; }
#output { background: #f8f9fa; padding: 20px; border-radius: 8px; margin-top: 20px; white-space: pre-wrap; }
</style>
</head>
<body>
<h1>💼 AI Salary Negotiation Coach</h1>
<label>Your Job Title</label>
<input type="text" id="jobTitle" placeholder="e.g. Senior Software Engineer" />
<label>Current Salary</label>
<input type="text" id="currentSalary" placeholder="e.g. $85,000" />
<label>Target Salary</label>
<input type="text" id="targetSalary" placeholder="e.g. $105,000" />
<label>Negotiation Scenario</label>
<select id="scenario">
<option value="new_offer">New Job Offer</option>
<option value="annual_review">Annual Performance Review</option>
<option value="promotion">Promotion Request</option>
<option value="freelance">Freelance Rate Negotiation</option>
</select>
<label>Any additional context?</label>
<textarea id="context" rows="3" placeholder="e.g. I have a competing offer, I just led a major project..."></textarea>
<button onclick="getStrategy()">Get My Negotiation Strategy</button>
<div id="output"></div>
<script>
AiPass.initialize({
clientId: 'YOUR_CLIENT_ID',
requireLogin: true,
darkMode: true
});
async function getStrategy() {
const jobTitle = document.getElementById('jobTitle').value;
const currentSalary = document.getElementById('currentSalary').value;
const targetSalary = document.getElementById('targetSalary').value;
const scenario = document.getElementById('scenario').value;
const context = document.getElementById('context').value;
const scenarioMap = {
new_offer: 'negotiating a new job offer',
annual_review: 'requesting a raise at an annual performance review',
promotion: 'negotiating a promotion',
freelance: 'negotiating freelance rates with a client'
};
document.getElementById('output').textContent = 'Crafting your strategy...';
const result = await AiPass.generateCompletion({
model: 'gpt-5-mini',
temperature: 1,
max_tokens: 16000,
messages: [
{
role: 'system',
content: 'You are an expert salary negotiation coach with deep knowledge of compensation psychology, negotiation tactics, and market rates. You give practical, confidence-building advice with specific scripts people can use word-for-word.'
},
{
role: 'user',
content: `I am a ${jobTitle} ${scenarioMap[scenario]}.
Current: ${currentSalary} | Target: ${targetSalary}
Context: ${context || 'None provided'}
Please provide:
1. **Opening Statement** — How to start the conversation
2. **Negotiation Script** — Word-for-word script with responses to common pushback
3. **Key Strategies** — 3 psychological tactics to use
4. **What NOT to Say** — Common mistakes to avoid
5. **Fallback Position** — If they won't meet your target, what to ask for instead`
}
]
});
document.getElementById('output').textContent = result.choices[0].message.content;
}
</script>
</body>
</html>
Step 3: Deploy
Self-host: Drop the HTML file on GitHub Pages, Netlify, or Vercel. No backend needed.
On AI Pass: Publish directly in your Developer Dashboard. Your app goes live at aipass.one/apps/your-name instantly.
You earn 50% commission on every API call your users make. A salary coach app used regularly can generate real passive income.
Embed It
Add it to any existing website with the </> embed button at the bottom-right of your published app.
Try the live version: aipass.one/apps/salary-negotiator
Related apps: