Create Application
This guide walks you through creating and managing applications in the OpenDev platform.
Overview
Applications in OpenDev represent your software projects. Each application gets:
- Unique App ID for identification
- App Secrets for authentication (per environment)
- Dedicated configuration management
- Channel and product bindings
Prerequisites
- OpenDev account with appropriate permissions
- Access to OpenDev Dashboard
Step 1: Access Applications Page
- Log in to OpenDev Platform
- Click Apps in the sidebar navigation
- You'll see the applications list page
Step 2: Create New Application
- Click the Create App button in the top right
- Fill in the application details:
| Field | Required | Description |
|---|---|---|
| App Name | Yes | Display name for your application |
| App ID | Auto | Unique identifier (auto-generated or custom) |
| Platform | Yes | Target platforms (iOS, Android, Web, Desktop) |
| Description | No | Brief description of the app |
| App Logo | No | Application icon (max 1MB) |
App ID Guidelines
- Auto-generated:
app_xxxxxxxxxxxx - Custom: Must be unique, alphanumeric with underscores
- Cannot be changed after creation
- Click Create to save
Step 3: Application Created
After creation, you'll see:
- App ID: Your unique application identifier
- App Secrets: Authentication keys (per environment)
- Created Date: When the app was created
App Secrets
App secrets are generated for each environment:
| Environment | Usage |
|---|---|
| Development | Local development and testing |
| Testing | QA and staging environments |
| Production | Live production environment |
Security: Keep App Secrets secure. They authenticate your app's API requests.
Managing Applications
View Application Details
- In the Apps list, click on an application name
- You'll be taken to the Application Details page
- Navigate using the tabs:
- Basic Info: General settings
- Channels: Channel bindings
- Products: Product configurations
- Payment: Payment settings
- Config Packages: Configuration downloads
Edit Application
- Go to Application Details
- In the Basic Info tab, click Edit
- Modify the editable fields:
- App Name
- Description
- App Logo
- Platform selection
- Click Save Changes
Regenerate App Secret
If you need to regenerate an App Secret:
- Go to Application Details > Basic Info
- Find the environment's secret
- Click the regenerate icon
- Confirm the action
Warning: Regenerating secrets will invalidate the old secret immediately.
Delete Application
- Go to Application Details
- Click the Delete button
- Confirm the deletion
Caution: Deletion is permanent and removes all associated configurations.
Application Configuration
Basic Information
| Setting | Description |
|---|---|
| Name | Display name shown in dashboard |
| App ID | Unique identifier for API calls |
| Platform | Supported platforms |
| Logo | Visual identifier |
| Description | Internal notes |
Environment Settings
Each environment (dev/test/prod) has:
- Separate App Secret
- Independent configuration packages
- Isolated channel bindings (optional)
Best Practices
Naming Conventions
Good:
- myapp_prod
- com.company.appname
- game_v2
Avoid:
- test (too generic)
- app1 (not descriptive)
- my-app (use underscores)
Logo Guidelines
- Format: PNG, JPG, or SVG
- Size: 512x512 pixels recommended
- Max file size: 1MB
- Use transparent background for best results
Security Recommendations
- Separate environments - Use different secrets for dev/test/prod
- Rotate secrets - Periodically regenerate production secrets
- Access control - Limit who can manage production apps
- Audit changes - Monitor application modifications
Integration Example
After creating your application, use the credentials in your app:
Backend Configuration
// config.js
module.exports = {
appId: 'app_xxxxxxxxxxxx',
appSecret: process.env.APP_SECRET, // From environment variable
environment: process.env.NODE_ENV || 'development',
};
API Authentication
// Include in API requests
const headers = {
'X-App-ID': config.appId,
'X-App-Secret': config.appSecret,
};
Next Steps
After creating your application:
- Configure Channels - Set up OAuth and distribution channels
- Add Product Tiers - Define your pricing and products
- Configure Payments - Enable payment processing
- Generate Config Package - Download client configuration
Troubleshooting
Cannot Create Application
Possible causes:
- Insufficient permissions (need Developer role or higher)
- Duplicate App ID
- Invalid characters in App ID
App Secret Not Working
Solutions:
- Verify you're using the correct environment's secret
- Check secret hasn't been regenerated
- Ensure secret is properly URL-encoded if needed
Logo Upload Fails
Solutions:
- Check file size (max 1MB)
- Verify format (PNG, JPG, SVG)
- Ensure stable internet connection