Touch the tip of your tongue to the roof of your mouth just behind your teeth. Add vocal cord vibration as you release.

Americans pronounce diagnosis as dahy-uhg-NOH-suhs (/ˌdaɪəgˈnoʊsəs/). Stress falls on the third syllable — keep everything else short and quick. You'll hear it in sentences like "The diagnosis was confirmed by a series of blood tests".
Record yourself saying "diagnosis" and play it back. The mic stays on your device — nothing's uploaded.
4 syllables, 9 sounds. Tap a syllable to jump to its row, then explore each sound's mouth shape and how it's made.
Place your tongue tip near the roof of your mouth behind your top teeth. Push air through the narrow gap. No voicing.

Relax your lips, jaw, and tongue completely. Drop your jaw slightly and keep the tongue neutral.
Place your tongue tip near the roof of your mouth behind your top teeth. Push air through the narrow gap. No voicing.

The textbook way isn't wrong — it's just not how anyone actually says it.
In "diagnosis", the "g" is not released — the articulators get into position but hold without the burst of air. Air stops but there's no release burst — the articulators hold position.
Stress falls on the third syllable, not the others. Stretch NOH — keep everything else short and quick.
Don't pronounce the first syllable too fully. The unstressed syllable reduces to a schwa — the lazy "uh" sound — in casual speech.