Getting a 404 when trying to register a tenant

I'm trying to enable the tenant registration feature in one of my panels but I'm getting a 404 when I try to access the page:

No query results for model [App\Models\Customer] new

Here is the code from my panel:
    public function panel(Panel $panel): Panel
    {
        return $panel->id('customer')
            ->tenant(Customer::class)
            ->tenantRegistration(RegisterCustomer::class)
            ...
    }


The route is listed as expected:

GET|HEAD app/new .................... filament.customer.tenant.registration › App\Filament\Customer\Pages\RegisterCustomer

Any idea why there is a query being made for this customer model?
Was this page helpful?