We often hear that ‘developers hate marketing.’ Still, if we consider marketing as a whole, there aren't many people who actively discuss how much they love marketing or a particular campaign they've seen. Most people tolerate marketing because it's entertaining or gives valuable information about a product. Developers are no different. Marketing has to be beneficial to them, and if the tactics used are too salesy, aggressive, or repetitive, they will disengage.
There's also the issue that developers generally understand the product better than many marketers trying to sell it to them, so all the marketing spiel will fail. Developers are technical, so their needs differ. Their goal is to solve their problems, to solve the problems of others, and to contribute to something greater than themselves, not just to get the best deal possible.
A fundamental truth of developer marketing is that developers will seek out and trust the opinion and word of their fellow developers much more readily than they will anything that the vendor says.
And that is why you need to create and engage a developer community. Whether you try to build your own or whether you engage where developers are already hanging out. Developer to developer engagement is crucial.
Thinking more about where your developer community exists, the likely answer is that it will exist in many places, all at once. Maybe you will build your brand cathedral where developers will flock to engage with each other (probably not, but maybe). More likely, you will have pockets of developers engaged in Reddit, some on LinkedIn, and more still in Discord, and so on. All of these added together are your developer community. And likely, they will all need nurturing in different ways. Try to avoid thinking of the community as a single entity, more as a collection of individual groups contributing to the whole.