To create a new tenant, instantiate your tenant model with a unique schema_name and a domain_url. When you call .save(), migrate_schemas is automatically called for that tenant, making it ready for use. Once created, the tenant middleware will automatically set the PostgreSQL search_path to {tenant_schema}, public based on the request domain, and the tenant object will be available at request.tenant.
from customers.models import Client
# create your first real tenant
tenant = Client(domain_url='tenant.my-domain.com', # don't add your port or www!
schema_name='tenant1',
name='Fonzy Tenant',
paid_until='2014-12-05',
on_trial=True)
tenant.save() # migrate_schemas automatically called, your tenant is ready to be used!