Skip to main content

Configure OpenAI API Key

Enable AI-powered translation features by configuring your OpenAI API key.

Why Configure?

The OpenAI API key is required for:
  • AI translation when adding new languages
  • Automatic translation of existing strings to new languages
  • Bulk translation workflows
Your API key is stored locally in your browser and never sent to Stringboot servers. It’s only used for translation requests directly to OpenAI.

Get Your OpenAI API Key

1

Visit OpenAI Platform

2

Sign In

Sign in to your OpenAI account (or create one)
3

Create API Key

  • Click Create new secret key
  • Give it a descriptive name (e.g., “Stringboot Translation”)
  • Copy the key immediately
4

Store Safely

Save the key securely - you won’t be able to see it again

Configure in Stringboot

1

Navigate to Settings

Go to Settings page (/settings) from the sidebar
2

Find API Settings

Locate the API Settings section
3

Enter API Key

Paste your OpenAI API key in the input fieldValid formats:
  • sk-... (standard key)
  • sk-live_... (live key)
  • sk-service_... (service key)
  • sk-svcacct-... (service account key)
4

Verify Format

The system validates your key format automatically
5

Toggle Visibility

Click the eye icon to show/hide the key while entering
6

Save

Click Save Settings to store the key
Invalid key formats will be rejected. Ensure your key starts with one of the valid prefixes.

API Key Security

Local Storage Only

  • Stored in browser’s local storage
  • Never transmitted to Stringboot servers
  • Only sent directly to OpenAI for translations

Clear Browser Data

  • Clearing browser data removes the key
  • Re-enter key after clearing storage
  • Consider using a dedicated browser profile

Key Rotation

  • Rotate keys periodically for security
  • Update in Settings when rotated
  • Old keys stop working immediately

Limited Scope

  • Only used for translation features
  • No access to other Stringboot data
  • You control OpenAI API usage costs

Manage Account Linking

Link external authentication providers to your Stringboot account. Connect your Google account for easier sign-in:
1

Go to Settings

Navigate to Settings page
2

Find Account Linking

Locate the Account Linking section
3

Link Google

Click Link Google Account button
4

OAuth Flow

  • You’ll be redirected to Google
  • Authorize Stringboot to access your account
  • Redirect back to Settings after confirmation
5

Verify Status

See linked provider status in the Account Linking section

Benefits of Account Linking

Faster Login

One-click sign-in with Google OAuth

Enhanced Security

2FA-like protection through Google

Account Recovery

Additional recovery option if password is forgotten

Unified Identity

Use the same Google account across services
1

Go to Settings

Navigate to the Settings page
2

Account Linking Section

Find your linked Google account
3

Click Unlink

Click the Unlink button
4

Confirm

Confirm unlinking in the dialog
After unlinking, you can only sign in with your email and password. Ensure you remember your password before unlinking.

Settings Overview

The Settings page contains multiple configuration sections:
SectionDescription
API SettingsConfigure OpenAI API key for translations
Account LinkingLink/unlink external authentication providers
Profile SettingsUpdate email, password, profile information
Notification PreferencesConfigure email and in-app notifications

Update Profile Information

Manage your account details:
  • Change Email
  • Change Password
1

Go to Settings

Navigate to Settings page
2

Enter New Email

Update your email address
3

Verify

Check your new email for verification link
4

Confirm

Click the verification link to complete

AI Translation Troubleshooting

Check:
  • OpenAI API key is configured in Settings
  • API key format is valid (starts with sk-)
  • You have OpenAI API credits available
  • Internet connection is active
  • Source language has strings to translate
Test your key:
curl https://api.openai.com/v1/models \
  -H "Authorization: Bearer YOUR_API_KEY"
Common issues:
  • Key doesn’t start with valid prefix
  • Key was copied with extra spaces
  • Key has expired or been revoked
  • Using old API key format
Solution: Generate a new key from OpenAI and update in Settings
Improve quality by:
  • Using high-quality source strings
  • Adding descriptions to strings for context
  • Reviewing and editing AI output
  • Testing with different source languages
Note: AI translation is a starting point - always review for accuracy
Factors affecting speed:
  • Number of strings being translated
  • OpenAI API rate limits
  • Network connection speed
  • Current OpenAI API load
Tips:
  • Translate in smaller batches
  • Check OpenAI API status
  • Ensure stable internet connection

Security Best Practices

Email Verification

  • Verify your email address
  • Required for password reset
  • Unlocks all dashboard features

Strong Passwords

  • Use 8+ characters
  • Mix letters, numbers, symbols
  • Avoid common words
  • Change periodically

Two-Factor Protection

  • Link Google account for 2FA-like security
  • Use Google Authenticator
  • Keep recovery codes safe

Regular Reviews

  • Review API tokens monthly
  • Update passwords quarterly
  • Rotate OpenAI API keys
  • Remove unused integrations

Secure Storage

  • Don’t share API keys
  • Use password managers
  • Enable browser security features
  • Log out on shared devices

Monitor Activity

  • Review recent activity regularly
  • Check for unexpected changes
  • Monitor API token usage
  • Report suspicious activity

OpenAI API Cost Management

You pay OpenAI directly for API usage. Stringboot does not charge for translation features.

Cost Optimization Tips

Translation costs depend on:
  • Number of strings
  • String length
  • OpenAI model pricing (currently GPT-4)
  • API rate limits
Example: Translating 1000 short strings (~50 chars each) typically costs 0.500.50-2.00
  • Translate multiple languages at once
  • Use bulk translation instead of individual strings
  • Monitor OpenAI dashboard for usage
In your OpenAI account:
  • Set monthly spending limits
  • Enable usage alerts
  • Monitor daily usage
  • Set up budget notifications
  • Ensure source strings are finalized
  • Remove test/temporary strings
  • Avoid translating duplicates
  • Only translate what you need

Next Steps