How does the connection for custom made software (with API) work?