Docs/Getting Started/Creating Your First Project

Creating Your First Project

Set up your workspace and create your first Ilara project with proper configuration.

3 min read

Create Your Account

If you haven't already, create your Ilara account at dashboard.ilara.ai/signup.

Ilara offers a free tier with generous limits to get started. No credit card required.

Create a New Project

Projects in Ilara represent individual games or applications. Each project has its own isolated data, API keys, and configuration.

1

Open the Dashboard

Log in and navigate to your dashboard home.

2

Click 'New Project'

Click the + New Project button in the top right corner.

3

Enter Project Details

Fill in your project information:

FieldDescriptionExample
Project NameDisplay name for your gameMy Awesome RPG
Project SlugURL-safe identifier (auto-generated)my-awesome-rpg
PlatformPrimary game platformUnity, Unreal, Mobile
GenreGame genre for analytics templatesRPG, Casual, Strategy
4

Configure Settings

Set your preferred timezone and data retention period. These can be changed later.

Generate API Keys

Ilara uses two types of API keys for different security contexts:

Key TypePrefixUsageSecurity
Public Keypk_Client-side SDK, game buildsSafe to embed in game clients
Secret Keysk_Server-side operations onlyNever expose in client code
Keep Secret Keys Safe
Never embed secret keys (sk_) in game clients or client-side code. They grant full access to your project data and should only be used on your backend servers.
1

Navigate to Settings

Go to Project Settings > API Keys.

2

Generate Keys

Click Generate New Key and select the key type. Your public key is generated automatically.

3

Copy and Store Securely

Copy your keys immediately—secret keys are only shown once. Store them in your game's configuration or environment variables.

Unity: Store API Key in ScriptableObject
csharp
class=class="code-string">"code-comment">// Create a config asset: Assets > Create > Ilara > Config
[CreateAssetMenu(fileName = class="code-string">"IlaraConfig", menuName = class="code-string">"Ilara/Config")]
public class IlaraConfig : ScriptableObject
{
[Header(class="code-string">"API Configuration")]
public string apiKey = class="code-string">"pk_live_your_key_here";
 
[Header(class="code-string">"Options")]
public bool debugMode = false;
public bool cacheFlags = true;
}

Development vs Production

Ilara supports separate environments for development and production:

EnvironmentKey PrefixPurpose
Testpk_test_Development, staging, QA testing
Livepk_live_Production game releases

Test keys point to a separate data environment, so your development testing won't pollute production analytics.

Switch Environments Based on Build
csharp
#if UNITY_EDITOR || DEVELOPMENT_BUILD
private const string API_KEY = class="code-string">"pk_test_development_key";
#else
private const string API_KEY = class="code-string">"pk_live_production_key";
#endif
 
void Start()
{
IlaraClient.Instance.Initialize(API_KEY);
}

Project Structure

Once your project is created, you'll have access to these dashboard sections:

  • Overview — Real-time metrics and health dashboard
  • Events — Event stream, queries, and analytics
  • Players — Player profiles, segments, and lifecycle
  • Feature Flags — Flag management and experiments
  • Retention — Churn prediction and automated campaigns
  • Settings — API keys, team members, integrations

Next Steps