**Source URL:** https://general.veevavault.dev/vault-sdk/sdk-integrations/tokens/custom-tokens.md

# Custom Tokens



Custom tokens are defined using `TokenService` and are resolved at runtime. For example, you might create custom logic in a user-defined service to calculate batch size, then pass the batch size value to a `${Custom.batch_size__c}` token. Learn more about [token service](/vault-sdk/services/token-service/).



---

**Previous:** [Vault Tokens](/vault-sdk/sdk-integrations/tokens/vault-tokens)  
**Next:** [Troubleshooting Runtime Errors](/vault-sdk/troubleshooting-runtime-errors)