Skip to content

[FEATURE] Setup wizard should ask for Strapi and ZeroDB config as optional fields #116

@ranveerd11

Description

@ranveerd11

Feature Request

The setup wizard should include configuration options for Strapi CMS and ZeroDB, but these should be optional and skippable - not required to complete setup.

Current Behavior

  • Setup wizard only asks for LLM provider configuration
  • Users have to manually run config set commands for Strapi and ZeroDB
  • Users don't know these integrations exist until they try to use them and get errors

Proposed Behavior

Setup Wizard Flow

Welcome to AINative Code!

=== LLM Configuration (Required) ===
Select your LLM provider: [anthropic]
Enter API key: [sk-ant-...]

=== Strapi CMS Configuration (Optional) ===
Do you want to configure Strapi integration? (y/N): y
  Strapi URL: [https://strapi.example.com]
  Strapi API Token: [your-token]
  
(Press Enter to skip)

=== ZeroDB Configuration (Optional) ===
Do you want to configure ZeroDB integration? (y/N): y
  ZeroDB Project ID: [your-project-id]
  ZeroDB API Key: [your-api-key]
  
(Press Enter to skip)

=== Setup Complete! ===

Benefits

  1. Discoverability - Users learn about Strapi and ZeroDB integrations during setup
  2. Convenience - One-time setup instead of manual config commands
  3. Flexibility - Can skip if not using these features
  4. Onboarding - Better first-run experience

Technical Details

Config Keys to Set

Strapi:

  • strapi.base_url - Strapi server URL
  • strapi.api_token - API token for authentication

ZeroDB:

  • zerodb.project_id - ZeroDB project identifier
  • zerodb.api_key - API key for authentication

Validation

  • Strapi URL should be validated as a valid URL
  • ZeroDB project ID format should be validated
  • Both sections should be entirely skippable with Enter or 'n'

Priority

P2 - Enhancement - Improves user experience but not blocking core functionality.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions