Integrations¶
UserHarbor core does not include database or email-provider implementations.
Those responsibilities are handled by adapters that implement the core
UserStore and EmailSender protocols.
Official integrations:
userharbor-sqlalchemyprovides a SQLAlchemy-basedUserStore.userharbor-smtpprovides an SMTP-basedEmailSender.userharbor-fastapiis in preparation.
See the integrations documentation for detailed setup instructions.
Install both official adapters through the core package extras:
Or install only the adapter you need:
When to use each adapter¶
Use userharbor-sqlalchemy when your application already uses SQLAlchemy or
when you want UserHarbor data stored in a relational database.
Use userharbor-smtp when your email provider exposes SMTP credentials and you
want a simple email sender without provider-specific SDKs.
The FastAPI integration is currently in preparation.
Both adapters can be replaced with custom implementations as long as they match the core protocols.
See Custom integrations for guidance on building your own storage, email, framework, or provider adapter.