Why add feedback to Electron apps?
Because Electron is Chromium, you could load the web widget, but the cleaner pattern is posting to TellTide’s API from your main process, where your API key stays out of renderer reach.
Step 1: Create a TellTide app and copy your App ID and API key
Sign in to TellTide, open Apps, and create an app with the Mobile App or Desktop App platform label. Copy the App ID and the API key shown at creation. Native apps authenticate with the API key (an x-api-key header) instead of the website origin check, so store the key securely — an environment variable, secure storage, or your backend.
Step 2: Post feedback from the main process
Collect the report in your renderer (a small form or dialog), send it over IPC, and post from the main process:
await fetch('https://telltide.com/api/feedback', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'x-api-key': process.env.TELLTIDE_API_KEY,
},
body: JSON.stringify({
appId: process.env.TELLTIDE_APP_ID,
type: 'bug',
name: user.name,
email: user.email,
comment: description,
page_url: `desktop://${currentRoute}`,
page_title: windowTitle,
feedback_data: { steps: reproductionSteps },
}),
});Step 3: Verify the submission in your inbox
Send a test request and check the response for a feedbackId. The submission appears in your TellTide inbox immediately, tagged with the page_url and page_title context you sent — use those fields for the screen name, route, or deep link the user was on.
Good to know
- Attach app version and OS to feedback_data — the two facts every desktop bug triage needs first.
- Keep the API key in the main process or an env var; never expose it to untrusted renderer content.
- Tauri, .NET, and native macOS/Windows apps use the exact same endpoint and payload.
Common questions
Can I add a “Send feedback” menu item?
That is the ideal trigger: a native menu role that opens your feedback dialog pre-filled with app version and current window. Users find it where they expect (Help menu), and every report arrives with context.
Is there a native TellTide SDK for Electron?
No SDK is required — the API is one JSON POST with two IDs, small enough that a wrapper library would be more code than the integration itself. Your HTTP client of choice already does the job.
Is the feedback public?
No. Every submission lands in your private TellTide inbox first. You choose which feature requests to publish to your public roadmap, where users can vote and comment.
How much does TellTide cost?
The free plan includes the widget, private inbox, API, and public roadmap for one app. Paid plans add unlimited apps and advanced features — pricing never scales with how many users you have.
