One Algolia account, two Zendesk?

Here’s the code I have in place. Works great in production.

{{# is help_center.name 'Staging Site Name'}}
<meta name="robots" content="noindex" />{{/ is }}
<!-- begin algolia search -->
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/algoliasearch.zendesk-hc/2/algoliasearch.zendesk-hc.min.css">
<script type="text/javascript" src="//cdn.jsdelivr.net/algoliasearch.zendesk-hc/2/algoliasearch.zendesk-hc.min.js"></script>
<script type="text/javascript">
  algoliasearchZendeskHC({
    applicationId: 'ALG_ACCOUNT_ID',
    apiKey: '233e055fREDACTEDe2f4542bb6',
    subdomain: 'staging-subdomain'
  });
</script>
<!-- end algolia search -->
{{/ is }}

{{# is help_center.name 'Production Site Name'}}

<!-- begin alogia search -->
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/algoliasearch.zendesk-hc/2/algoliasearch.zendesk-hc.min.css">
<script type="text/javascript" src="//cdn.jsdelivr.net/algoliasearch.zendesk-hc/2/algoliasearch.zendesk-hc.min.js"></script>
<script type="text/javascript">
  algoliasearchZendeskHC({
    applicationId: 'ALG_ACCOUNT_ID',
    apiKey: 'NORMAL_API_SEARCH_KEY',
    subdomain: 'production-subdomain'
  });
</script>
<!-- end alogia search -->
{{/ is }}