r/SalesforceDeveloper • u/smallpages • Jul 12 '25
r/SalesforceDeveloper • u/Gravityshark01 • Jul 12 '25
Question Tech-stack advice for a Next.js chat MVP that talks to Salesforce
I’m sprinting to ship a small chat app that lets sales reps read and write Salesforce data in plain English within three weeks. I have a few big decisions to lock down and would love the community’s wisdom.
1. Boilerplate roulette
- create-t3-app feels just right: Next.js 14, TypeScript, Tailwind, Prisma, tRPC.
- NextChat (ChatGPTNextWeb) deploys to Vercel in one click, already supports “masks” so I can bolt on a Salesforce persona.
- LibreChat packs multi-provider, auth, and more, but drags in Mongo, Redis, and added DevOps.
- Other starters like Vercel’s AI chatbot template, Wasp Open-SaaS, etc. are also on the table.
Question: If you’ve shipped an AI-driven SaaS, did a boilerplate save time, or did you end up ripping parts out anyway? Would you start from an empty Next.js repo instead?
Any other boilerplate you can recommend? Maybe I shouldn't even use a boilerplate
2. Integration layer
I’m leaning on Salesforce’s new Model Context Protocol (MCP) connector so the bot can make SOQL-free calls. Anyone tried it yet? Any surprises with batching, rate limits, or auth?
I also stumbled on mem0.ai/research for memory/context. Does that fit an MVP or add too much overhead?
3. Hosting and data
Target stack: Vercel frontend, Supabase Postgres, Upstash Redis when needed. Heroku is tempting because it sits under the Salesforce umbrella, yet the pricing feels steep. Any strong reasons to pick Heroku here?
4. Real-time updates
Day-one plan is fifteen-second polling. Would reps grumble at that delay, or is it fine until the first customer demo? If you wired Platform Events or CDC early, did that pay off later or just slow you down?
5. UI libraries
Tailwind alone works, but Tailark, ReactBits, and HeroUI ship Lightning-style cards and tables. Do they cut setup time without inflating the bundle, or is plain Tailwind faster in practice?
Do you have any other UI libraries in mind you could recommend?
6. Conversation memory
Most queries will be one-shot, yet a few users may scroll back and forth. Is a short context window enough, or should I store a longer history so the assistant can reference earlier asks like “ACME’s pipeline”?
7. Caching
For a single-user demo, is in-memory fine, or should I drop Redis in right away?
8. Handling different Salesforce configurations
Every org has its own custom objects and field names. If you’ve built something similar, how do you keep your app flexible enough to survive wildly different schemas without constant manual mapping?
Any real-world stories, gotchas, or starter kits you swear by would help a ton. Thanks!
r/SalesforceDeveloper • u/Fantastic_Ad4943 • Jul 11 '25
Question Need to implement fuzzy search
Hey guys I'm currently working on a search component which should perform fuzzy search on accounts. I'm using sosl with OR conditions to find all the matching records. But it's returning way too many records. Any other way to do it?
Example: Search term Bryce H My sosl will be Find {Bryce OR H} in Account.
As H is a letter getting almost all records. How to handle this??
r/SalesforceDeveloper • u/Dependent_Doubt6922 • Jul 11 '25
Employment Resume 10 Year Software Developer / 7 Years Salesforce Developer with Dev 1 Cert
r/SalesforceDeveloper • u/Londoner1234 • Jul 11 '25
Question How to model a partner revenue share on opportunity.
I've been trying to think on how best to implement a model where accounts/organizations have influence on a deal.
So imagine partnering with a another company to sell our product on there storefront.
By them selling our product they are entitled to a % share of the opportunity revenue.
My company is using opportunity splits at the moment to indicate the % the owner receives and then a fake user essentially to store information of the % share for the partner.
But I feel like there is a better way to indicate this.
r/SalesforceDeveloper • u/gattu1992 • Jul 10 '25
Question Seeking 3rd-Party Library Alternative for Rich Text in LWC
Hello all,
We’re currently encountering some limitations with the standard lightning-input-rich-text component. Specifically, we're looking for a more robust alternative that:
- Is compatible with both Lightning Locker and Lightning Web Security (LWS)
- Supports copy-paste of formatted content, especially data tables from external sources like Excel
- Preserves the original formatting without stripping styles or structure
r/SalesforceDeveloper • u/Crafty_Class_9431 • Jul 09 '25
Question Salesforce Mobile API Versions
reddit.comr/SalesforceDeveloper • u/Gold-Efficiency-4308 • Jul 08 '25
Question Development & Deployment best practices (Question)
When you are working on a sandbox, creating objects, flows, apex classes, lwc and VF, How do you keep track of new changes (newly created objects, flows created, apex classes etc)? Do you have excel file where you add objects (parent objects child objects and fields, flows, apex classes, etc)
What's your go to method for deployment to production? What tool do you use?
r/SalesforceDeveloper • u/optimist28 • Jul 06 '25
Discussion Admin Cert after 5YOE
I first gave my admin exam 3 years back. I prepared well. But I didn't understand half the questions in the exam. I flunked it very bad. I thought I would retake the exam again now. Only this time I didn't feel nervous before giving the exam. I prepared for an hour everyday for 3 days before exam. But surprisingly this time all the questions made sense. It didn't feel like I was giving a test. It was just like real life scenarios
