How to register a User Installed SlashCommand

i created a shlashcommand but it does not appear as user installed command
new SlashCommandBuilder()
  .setName("example")
  .setDescription("example command")
  .setIntegrationTypes([ApplicationIntegrationType.GuildInstall, ApplicationIntegrationType.UserInstall])
  .setContexts([InteractionContextType.BotDM, InteractionContextType.Guild,               InteractionContextType.PrivateChannel]),


tried to install it as global as well as guild command does not show.
Was this page helpful?